1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Make functions static where possible, enclose unused functions in #ifdef NOT_USED.

This commit is contained in:
Bruce Momjian
1997-08-19 21:40:56 +00:00
parent b992e200b8
commit 1d8bbfd2e7
186 changed files with 1114 additions and 1048 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.6 1997/08/12 22:54:19 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.7 1997/08/19 21:34:02 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -43,6 +43,9 @@
#include "commands/async.h"
static Oid GetAppendOid(void);
static void ResetAppendOid(void);
/* ----------------
* output functions
* ----------------
@ -317,7 +320,7 @@ BeginCommand(char *pname,
static Oid AppendOid;
void
static void
ResetAppendOid(void)
{
AppendOid = InvalidOid;
@ -346,7 +349,7 @@ UpdateAppendOid(Oid newoid)
AppendOid = MULTI_TUPLE_APPEND;
}
Oid
static Oid
GetAppendOid(void)
{
if (AppendOid == MULTI_TUPLE_APPEND)