diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-12-16 11:27:30 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-12-16 11:41:17 +0200 |
commit | 30b96549ab41ce23399256d4ea9723a05c139558 (patch) | |
tree | f54f7f58885fe494a88dacff074a7f847f9a7286 /src/backend/storage/lmgr/lock.c | |
parent | 1f0626ee40f2decd93ca96c6f9e9a9b5edff57ba (diff) | |
download | postgresql-30b96549ab41ce23399256d4ea9723a05c139558.tar.gz postgresql-30b96549ab41ce23399256d4ea9723a05c139558.zip |
Mark variables 'static' where possible. Move GinFuzzySearchLimit to ginget.c
Per "clang -Wmissing-variable-declarations" output, posted by Andres Freund.
I didn't silence all those warnings, though, only the most obvious cases.
Diffstat (limited to 'src/backend/storage/lmgr/lock.c')
-rw-r--r-- | src/backend/storage/lmgr/lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/lmgr/lock.c b/src/backend/storage/lmgr/lock.c index e4c9fa4ab42..536be441890 100644 --- a/src/backend/storage/lmgr/lock.c +++ b/src/backend/storage/lmgr/lock.c @@ -238,7 +238,7 @@ typedef struct uint32 count[FAST_PATH_STRONG_LOCK_HASH_PARTITIONS]; } FastPathStrongRelationLockData; -FastPathStrongRelationLockData *FastPathStrongRelationLocks; +static FastPathStrongRelationLockData *FastPathStrongRelationLocks; /* |