pgsql: Protect definition of SpinlockSemaArray, just like its declarati

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Protect definition of SpinlockSemaArray, just like its declarati
Date: 2014-08-31 22:04:04
Message-ID: E1XODEC-0005cJ-U9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Protect definition of SpinlockSemaArray, just like its declaration.

Found via clang's -Wmissing-variable-declarations.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5c1faa7ba729c780b0ac598dbc23dbb1d6e1b872

Modified Files
--------------
src/backend/storage/lmgr/spin.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-08-31 22:17:38 pgsql: Declare lwlock.c's LWLockAcquireCommon() as a static inline.
Previous Message Andres Freund 2014-08-31 21:55:58 pgsql: Declare two variables in snapbuild.c as static.