From 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 19 Aug 1997 21:40:56 +0000 Subject: Make functions static where possible, enclose unused functions in #ifdef NOT_USED. --- src/backend/tcop/postgres.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index dc593264ced..cd658704f03 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.41 1997/08/14 16:11:15 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.42 1997/08/19 21:34:04 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -90,6 +90,8 @@ #include "libpq/pqsignal.h" #include "rewrite/rewriteHandler.h" /* for QueryRewrite() */ +static void quickdie(SIGNAL_ARGS); + /* ---------------- * global variables * ---------------- @@ -720,7 +722,7 @@ handle_warn(SIGNAL_ARGS) siglongjmp(Warn_restart, 1); } -void +static void quickdie(SIGNAL_ARGS) { elog(NOTICE, "I have been signalled by the postmaster."); @@ -1275,7 +1277,7 @@ PostgresMain(int argc, char *argv[]) */ if (IsUnderPostmaster == false) { puts("\nPOSTGRES backend interactive interface"); - puts("$Revision: 1.41 $ $Date: 1997/08/14 16:11:15 $"); + puts("$Revision: 1.42 $ $Date: 1997/08/19 21:34:04 $"); } /* ---------------- -- cgit v1.2.3