aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq/fe-auth.h')
-rw-r--r--src/interfaces/libpq/fe-auth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-auth.h b/src/interfaces/libpq/fe-auth.h
index d5b8ecd8f76..fa939ac122f 100644
--- a/src/interfaces/libpq/fe-auth.h
+++ b/src/interfaces/libpq/fe-auth.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: fe-auth.h,v 1.1.1.1 1996/07/09 06:22:17 scrappy Exp $
+ * $Id: fe-auth.h,v 1.2 1996/08/06 16:16:44 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -28,8 +28,8 @@
#define DEFAULT_CLIENT_AUTHSVC "kerberos"
#endif /* KRB4 || KRB5 */
-extern int fe_sendauth(MsgType msgtype, Port *port, char *hostname, char* PQerromsg);
-extern void fe_setauthsvc(char *name, char* PQerrormsg);
+extern int fe_sendauth(MsgType msgtype, Port *port, const char *hostname, const char* PQerromsg);
+extern void fe_setauthsvc(const char *name, char* PQerrormsg);
#define PG_KRB4_VERSION "PGVER4.1" /* at most KRB_SENDAUTH_VLEN chars */
#define PG_KRB5_VERSION "PGVER5.1"