r6225: get rid of warnings from my compiler about nested externs
[obnox/samba/samba-obnox.git] / source / tdb / tdbbackup.c
index 1a0e1c1588fdc4affd532ae7c699c6f1e6a35d91..f49cd339c79ff256d8c12b003a6f4a4299e2da0c 100644 (file)
@@ -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) {