diff options
Diffstat (limited to 'source3/torture/locktest2.c')
-rw-r--r-- | source3/torture/locktest2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index 5f2f2499ac..0a897fb206 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -29,6 +29,9 @@ static BOOL analyze; static BOOL hide_unlock_fails; static BOOL use_oplocks; +extern char *optarg; +extern int optind; + #define FILENAME "\\locktest.dat" #define LOCKRANGE 100 #define LOCKBASE 0 @@ -471,8 +474,6 @@ static void usage(void) int main(int argc,char *argv[]) { char *share1, *share2, *nfspath1, *nfspath2; - extern char *optarg; - extern int optind; int opt; char *p; int seed; |