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

Commit8d33f80

Browse files
committed
Suppress gcc warning.
1 parent478c95a commit8d33f80

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎src/interfaces/ecpg/lib/error.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.17 2003/02/13 13:11:52 meskes Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/error.c,v 1.18 2003/02/1318:13:22 tgl Exp $ */
22

33
#include"postgres_fe.h"
44

@@ -12,7 +12,8 @@
1212

1313
/* This should hold the back-end error message from
1414
* the last back-end operation. */
15-
char*ECPGerr;
15+
staticchar*ECPGerr;
16+
1617

1718
void
1819
ECPGraise(intline,intcode,constchar*str)

‎src/interfaces/ecpg/lib/extern.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
/* Here are some methods used by the lib. */
88

9-
/*Stores the backend error message for client access */
9+
/*Store and retrieve the backend error message for client access */
1010
voidset_backend_err(constchar*err,intlineon);
11+
char*ECPGerrmsg(void);
1112

1213
/* Returns a pointer to a string containing a simple type name. */
1314
voidECPGadd_mem(void*ptr,intlineno);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp