diff options
author | Herb Lewis <herb@samba.org> | 2006-12-18 20:37:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:36 -0500 |
commit | ef4c2088c5f1de5d8665061963acdd1d71500cd8 (patch) | |
tree | 10f9d33ecb6d8bc643f0eae9ba4126057f5626e7 /source3/torture/locktest2.c | |
parent | 91626a4497e6bf99e436db344e19e2e2e4dd967e (diff) | |
download | samba-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/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; |