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/bin/pg_dump/pg_dump.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/bin/pg_dump/pg_dump.c')
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 224e8cbe086..837e7844312 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -90,11 +90,11 @@ bool g_verbose; /* User wants verbose narration of our * activities. */ /* various user-settable parameters */ -bool schemaOnly; -bool dataOnly; -int dumpSections; /* bitmask of chosen sections */ -bool aclsSkip; -const char *lockWaitTimeout; +static bool schemaOnly; +static bool dataOnly; +static int dumpSections; /* bitmask of chosen sections */ +static bool aclsSkip; +static const char *lockWaitTimeout; /* subquery used to convert user ID (eg, datdba) to user name */ static const char *username_subquery; |