diff options
author | Herb Lewis <herb@samba.org> | 2005-05-02 17:49:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:46 -0500 |
commit | 1c4bbe06549d86614318718a45b9bc48e3bfc81f (patch) | |
tree | 121ab409dccc32c6d0f4ea7289d95843780225ce /source3/torture/torture.c | |
parent | 714a426fe579ad481aa342a8d4cfd5331a12978f (diff) | |
download | samba-1c4bbe06549d86614318718a45b9bc48e3bfc81f.tar.gz samba-1c4bbe06549d86614318718a45b9bc48e3bfc81f.tar.bz2 samba-1c4bbe06549d86614318718a45b9bc48e3bfc81f.zip |
r6586: get rid of a few more compiler warnings
(This used to be commit 173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r-- | source3/torture/torture.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index b1ed1e4e37..ef9497d9ad 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -22,6 +22,9 @@ #include "includes.h" +extern char *optarg; +extern int optind; + static fstring host, workgroup, share, password, username, myname; static int max_protocol = PROTOCOL_NT1; static const char *sockops="TCP_NODELAY"; @@ -4902,8 +4905,6 @@ static void usage(void) char *p; int gotuser = 0; int gotpass = 0; - extern char *optarg; - extern int optind; BOOL correct = True; dbf = x_stdout; |