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:
@ -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)
|
||||
|
Reference in New Issue
Block a user