mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +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/nodes/equalfuncs.c,v 1.5 1997/01/10 20:17:43 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.6 1997/08/19 21:31:36 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -26,6 +26,8 @@
|
||||
#include "utils/elog.h"
|
||||
#include "storage/itemptr.h"
|
||||
|
||||
static bool equali(List *a, List *b);
|
||||
|
||||
/*
|
||||
* Stuff from primnodes.h
|
||||
*/
|
||||
@@ -703,7 +705,8 @@ equal(void *a, void *b)
|
||||
*
|
||||
* XXX temp hack. needs something like T_IntList
|
||||
*/
|
||||
bool equali(List *a, List *b)
|
||||
static bool
|
||||
equali(List *a, List *b)
|
||||
{
|
||||
List *la = (List*)a;
|
||||
List *lb = (List*)b;
|
||||
|
Reference in New Issue
Block a user