From: Tom Lane Date: Fri, 4 Aug 2006 16:42:56 +0000 (+0000) Subject: Fix missing 'static' keywords --- some compilers gripe about this. X-Git-Tag: REL8_2_BETA1~403 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3467758809718a5c7b745ec9d0ffdbe129568e6a;p=thirdparty%2Fpostgresql.git Fix missing 'static' keywords --- some compilers gripe about this. --- diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c index 16791bf620d..e45855a0e40 100644 --- a/src/backend/storage/lmgr/lwlock.c +++ b/src/backend/storage/lmgr/lwlock.c @@ -15,7 +15,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/lmgr/lwlock.c,v 1.43 2006/08/01 19:03:11 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/lmgr/lwlock.c,v 1.44 2006/08/04 16:42:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -127,7 +127,7 @@ RegisterAddinLWLock(LWLockId *lock) /* * NumAddinLWLocks() --- Return the number of LWLocks requested by add-ins. */ -int +static int NumAddinLWLocks() { return num_addin_locks; @@ -136,7 +136,7 @@ NumAddinLWLocks() /* * AssignAddinLWLocks() --- Assign LWLocks previously requested by add-ins. */ -void +static void AssignAddinLWLocks() { LWLockNode *node = addin_locks;