Skip to content

Commit 9ac2f2e

Browse files
committed
Add missing ecpg function prototype needed when in threaded mode ---
supresses compiler warning.
1 parent 49954b4 commit 9ac2f2e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/interfaces/ecpg/ecpglib/extern.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.17 2006/06/21 10:24:41 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/extern.h,v 1.18 2006/08/04 03:23:37 momjian Exp $ */
22

33
#ifndef _ECPG_LIB_EXTERN_H
44
#define _ECPG_LIB_EXTERN_H
@@ -27,6 +27,9 @@ void ECPGadd_mem(void *ptr, int lineno);
2727
bool ECPGget_data(const PGresult *, int, int, int, enum ECPGttype type,
2828
enum ECPGttype, char *, char *, long, long, long,
2929
enum ARRAY_TYPE, enum COMPAT_MODE, bool);
30+
#ifdef ENABLE_THREAD_SAFETY
31+
void ecpg_pthreads_init(void);
32+
#endif
3033
struct connection *ECPGget_connection(const char *);
3134
char *ECPGalloc(long, int);
3235
char *ECPGrealloc(void *, long, int);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy