aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1999-01-22 13:28:50 +0000
committerMarc G. Fournier <scrappy@hub.org>1999-01-22 13:28:50 +0000
commit8135140a3e902db93e01f8859434296461c15700 (patch)
tree8525e1aa2b350c45571f79b82765947da04131e6 /src
parent03155dc7649d85ec1ea6fecdaf6e9f8094fa6830 (diff)
downloadpostgresql-8135140a3e902db93e01f8859434296461c15700.tar.gz
postgresql-8135140a3e902db93e01f8859434296461c15700.zip
|From: "D'Arcy" "J.M." Cain <darcy@druid.net>
| |The following patch just prevents a warning from being generated because |the data type isn't specified.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index d3b2d2d274b..1d051dc9cc7 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.24 1998/09/01 04:40:01 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.25 1999/01/22 13:28:50 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -92,7 +92,7 @@ static struct authsvc authsvcs[] = {
{"password", STARTUP_PASSWORD_MSG, 0}
};
-static n_authsvcs = sizeof(authsvcs) / sizeof(struct authsvc);
+static int n_authsvcs = sizeof(authsvcs) / sizeof(struct authsvc);
#ifdef KRB4
/*----------------------------------------------------------------
@@ -550,7 +550,7 @@ fe_sendauth(AuthRequest areq, PGconn *conn, const char *hostname,
* Set/return the authentication service currently selected for use by the
* frontend. (You can only use one in the frontend, obviously.)
*/
-static pg_authsvc = -1;
+static int pg_authsvc = -1;
void
fe_setauthsvc(const char *name, char *PQerrormsg)