summaryrefslogtreecommitdiffstats
path: root/source/tdb/tdbbackup.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tdb/tdbbackup.c')
-rw-r--r--source/tdb/tdbbackup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/tdb/tdbbackup.c b/source/tdb/tdbbackup.c
index f49cd339c79..1a0e1c1588f 100644
--- a/source/tdb/tdbbackup.c
+++ b/source/tdb/tdbbackup.c
@@ -69,9 +69,6 @@
#include "tdb.h"
#include "tdbback.h"
-extern int optind;
-extern char *optarg;
-
/*
see if one file is newer than another
*/
@@ -103,6 +100,8 @@ static void usage(void)
int c;
int verify = 0;
const char *suffix = ".bak";
+ extern int optind;
+ extern char *optarg;
while ((c = getopt(argc, argv, "vhs:")) != -1) {
switch (c) {