mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.51 1997/08/12 22:53:31 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.52 1997/08/19 21:32:27 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@@ -163,8 +163,8 @@ static void CleanupProc(int pid, int exitstatus);
|
||||
static int DoExec(StartupInfo *packet, int portFd);
|
||||
static void ExitPostmaster(int status);
|
||||
static void usage(const char *);
|
||||
int ServerLoop(void);
|
||||
int BackendStartup(StartupInfo *packet, Port *port, int *pidPtr);
|
||||
static int ServerLoop(void);
|
||||
static int BackendStartup(StartupInfo *packet, Port *port, int *pidPtr);
|
||||
static void send_error_reply(Port *port, const char *errormsg);
|
||||
|
||||
extern char *optarg;
|
||||
@@ -432,7 +432,7 @@ usage(const char *progname)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
ServerLoop(void)
|
||||
{
|
||||
int serverFd = ServerSock;
|
||||
@@ -943,7 +943,7 @@ CleanupProc(int pid,
|
||||
* otherwise.
|
||||
*
|
||||
*/
|
||||
int
|
||||
static int
|
||||
BackendStartup(StartupInfo *packet, /* client's startup packet */
|
||||
Port *port,
|
||||
int *pidPtr)
|
||||
|
||||
Reference in New Issue
Block a user