summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/crypt.h2
-rw-r--r--src/include/libpq/password.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/crypt.h b/src/include/libpq/crypt.h
index 7827b464081..c3f58ee1639 100644
--- a/src/include/libpq/crypt.h
+++ b/src/include/libpq/crypt.h
@@ -26,6 +26,6 @@ extern char *crypt_getpwdreloadfilename(void);
extern MsgType crypt_salt(const char *user);
#endif
-extern int crypt_verify(Port *port, const char *user, const char *pgpass);
+extern int crypt_verify(const Port *port, const char *user, const char *pgpass);
#endif
diff --git a/src/include/libpq/password.h b/src/include/libpq/password.h
index 9c7421d8935..c704edeb345 100644
--- a/src/include/libpq/password.h
+++ b/src/include/libpq/password.h
@@ -1,6 +1,6 @@
#ifndef PASSWORD_H
#define PASSWORD_H
-int verify_password(char *auth_arg, char *user, char *password);
+int verify_password(const Port *port, const char *user, const char *password);
#endif