From 978ca8486031e43754a3c23757f361bf3a85f335 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 6 Apr 2005 16:28:04 +0000 Subject: r6225: get rid of warnings from my compiler about nested externs (This used to be commit efea76ac71412f8622cd233912309e91b9ea52da) --- source3/tdb/tdbbackup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/tdb/tdbbackup.c') diff --git a/source3/tdb/tdbbackup.c b/source3/tdb/tdbbackup.c index 1a0e1c1588..f49cd339c7 100644 --- a/source3/tdb/tdbbackup.c +++ b/source3/tdb/tdbbackup.c @@ -69,6 +69,9 @@ #include "tdb.h" #include "tdbback.h" +extern int optind; +extern char *optarg; + /* see if one file is newer than another */ @@ -100,8 +103,6 @@ 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) { -- cgit