From: Tom Lane Date: Sun, 19 Oct 2003 23:43:51 +0000 (+0000) Subject: Save_r, Save_t should be static not global variables. X-Git-Tag: REL7_4_BETA5~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f169057de1ee813ef941a40937711b998f731a8;p=thirdparty%2Fpostgresql.git Save_r, Save_t should be static not global variables. --- diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 70ac378f0e6..1cf8dc30ae9 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.374 2003/10/18 22:59:08 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.375 2003/10/19 23:43:51 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2659,7 +2659,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.374 $ $Date: 2003/10/18 22:59:08 $\n"); + puts("$Revision: 1.375 $ $Date: 2003/10/19 23:43:51 $\n"); } /* @@ -3090,8 +3090,8 @@ PostgresMain(int argc, char *argv[], const char *username) #include #endif /* HAVE_GETRUSAGE */ -struct rusage Save_r; -struct timeval Save_t; +static struct rusage Save_r; +static struct timeval Save_t; void ResetUsage(void)