summaryrefslogtreecommitdiff
path: root/src/include/libpq
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/libpq')
-rw-r--r--src/include/libpq/libpq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index f452b539681..4d3a0bef63e 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -55,8 +55,8 @@ extern const PGDLLIMPORT PQcommMethods *PqCommMethods;
*/
extern WaitEventSet *FeBeWaitSet;
-extern int StreamServerPort(int family, char *hostName,
- unsigned short portNumber, char *unixSocketDir,
+extern int StreamServerPort(int family, const char *hostName,
+ unsigned short portNumber, const char *unixSocketDir,
pgsocket ListenSocket[], int MaxListen);
extern int StreamConnection(pgsocket server_fd, Port *port);
extern void StreamClose(pgsocket sock);