aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_receivexlog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-12-16 11:27:30 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-12-16 11:41:17 +0200
commit30b96549ab41ce23399256d4ea9723a05c139558 (patch)
treef54f7f58885fe494a88dacff074a7f847f9a7286 /src/bin/pg_basebackup/pg_receivexlog.c
parent1f0626ee40f2decd93ca96c6f9e9a9b5edff57ba (diff)
downloadpostgresql-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_basebackup/pg_receivexlog.c')
-rw-r--r--src/bin/pg_basebackup/pg_receivexlog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/pg_basebackup/pg_receivexlog.c b/src/bin/pg_basebackup/pg_receivexlog.c
index 252a7e08d67..3de51ef461d 100644
--- a/src/bin/pg_basebackup/pg_receivexlog.c
+++ b/src/bin/pg_basebackup/pg_receivexlog.c
@@ -32,11 +32,11 @@
#define RECONNECT_SLEEP_TIME 5
/* Global options */
-char *basedir = NULL;
-int verbose = 0;
-int noloop = 0;
-int standby_message_timeout = 10 * 1000; /* 10 sec = default */
-volatile bool time_to_abort = false;
+static char *basedir = NULL;
+static int verbose = 0;
+static int noloop = 0;
+static int standby_message_timeout = 10 * 1000; /* 10 sec = default */
+static volatile bool time_to_abort = false;
static void usage(void);