Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9ac2f2e

Browse files
committed
Add missing ecpg function prototype needed when in threaded mode ---
supresses compiler warning.
1 parent49954b4 commit9ac2f2e

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 @@ voidECPGadd_mem(void *ptr, int lineno);
2727
boolECPGget_data(constPGresult*,int,int,int,enumECPGttypetype,
2828
enumECPGttype,char*,char*,long,long,long,
2929
enumARRAY_TYPE,enumCOMPAT_MODE,bool);
30+
#ifdefENABLE_THREAD_SAFETY
31+
voidecpg_pthreads_init(void);
32+
#endif
3033
structconnection*ECPGget_connection(constchar*);
3134
char*ECPGalloc(long,int);
3235
char*ECPGrealloc(void*,long,int);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp