diff options
Diffstat (limited to 'src/include/libpq')
-rw-r--r-- | src/include/libpq/hba.h | 4 | ||||
-rw-r--r-- | src/include/libpq/libpq.h | 2 | ||||
-rw-r--r-- | src/include/libpq/pqcomm.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h index 5828389fe3a..73ae5105eb9 100644 --- a/src/include/libpq/hba.h +++ b/src/include/libpq/hba.h @@ -87,12 +87,12 @@ typedef struct HbaLine typedef struct IdentLine { - int linenumber; + int linenumber; char *usermap; char *ident_user; char *pg_role; - regex_t re; + regex_t re; } IdentLine; /* kluge to avoid including libpq/libpq-be.h here */ diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h index 4bf1e748f6d..16df3ea9f21 100644 --- a/src/include/libpq/libpq.h +++ b/src/include/libpq/libpq.h @@ -44,7 +44,7 @@ typedef struct /* * prototypes for functions in pqcomm.c */ -extern int StreamServerPort(int family, char *hostName, +extern int StreamServerPort(int family, char *hostName, unsigned short portNumber, char *unixSocketDir, pgsocket ListenSocket[], int MaxListen); extern int StreamConnection(pgsocket server_fd, Port *port); diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h index a28b75adc99..934a4752fac 100644 --- a/src/include/libpq/pqcomm.h +++ b/src/include/libpq/pqcomm.h @@ -75,7 +75,7 @@ typedef struct /* * The maximum workable length of a socket path is what will fit into - * struct sockaddr_un. This is usually only 100 or so bytes :-(. + * struct sockaddr_un. This is usually only 100 or so bytes :-(. * * For consistency, always pass a MAXPGPATH-sized buffer to UNIXSOCK_PATH(), * then complain if the resulting string is >= UNIXSOCK_PATH_BUFLEN bytes. |