summaryrefslogtreecommitdiff
path: root/source3/torture/masktest.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-18 20:37:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:36 -0500
commitef4c2088c5f1de5d8665061963acdd1d71500cd8 (patch)
tree10f9d33ecb6d8bc643f0eae9ba4126057f5626e7 /source3/torture/masktest.c
parent91626a4497e6bf99e436db344e19e2e2e4dd967e (diff)
downloadsamba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.tar.gz
samba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.tar.bz2
samba-ef4c2088c5f1de5d8665061963acdd1d71500cd8.zip
r20245: merge 20244 from samba_3_0_24
get rid of more nested extern declarations warnings (This used to be commit e9df051f5201843e3428ddbed7a719553c2e799a)
Diffstat (limited to 'source3/torture/masktest.c')
-rw-r--r--source3/torture/masktest.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index 2ce59c86e6..f97fb97542 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -33,6 +33,10 @@ static int die_on_error;
static int NumLoops = 0;
static int ignore_dot_errors = 0;
+extern char *optarg;
+extern int optind;
+extern BOOL AllowDebugChange;
+
/* a test fn for LANMAN mask support */
int ms_fnmatch_lanman_core(const char *pattern, const char *string)
{
@@ -426,9 +430,6 @@ static void usage(void)
{
char *share;
struct cli_state *cli;
- extern char *optarg;
- extern int optind;
- extern BOOL AllowDebugChange;
int opt;
char *p;
int seed;