1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-14 08:21:07 +03:00

Fix missing 'static' keywords --- some compilers gripe about this.

This commit is contained in:
Tom Lane
2006-08-04 16:42:56 +00:00
parent a7d400ad07
commit 3467758809

View File

@ -15,7 +15,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * 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. * NumAddinLWLocks() --- Return the number of LWLocks requested by add-ins.
*/ */
int static int
NumAddinLWLocks() NumAddinLWLocks()
{ {
return num_addin_locks; return num_addin_locks;
@ -136,7 +136,7 @@ NumAddinLWLocks()
/* /*
* AssignAddinLWLocks() --- Assign LWLocks previously requested by add-ins. * AssignAddinLWLocks() --- Assign LWLocks previously requested by add-ins.
*/ */
void static void
AssignAddinLWLocks() AssignAddinLWLocks()
{ {
LWLockNode *node = addin_locks; LWLockNode *node = addin_locks;