projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb211da
)
Silence compiler warning.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 7 Dec 2000 02:04:30 +0000
(
02:04
+0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 7 Dec 2000 02:04:30 +0000
(
02:04
+0000)
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index ba569fc0bebf2fa321fc1f58d3044e32e8b61c3f..7e754d013c5b035053d7a00501c74d475fbe683e 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-2206,7
+2206,9
@@
pqPacketSend(PGconn *conn, const char *buf, size_t len)
#define MAXBUFSIZE 256
-int parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage) {
+static int
+parseServiceInfo(PQconninfoOption *options, PQExpBuffer errorMessage)
+{
char *service = conninfo_getval(options, "service");
char *serviceFile = SYSCONFDIR "/pg_service.conf";
int group_found = 0;