diff options
author | Herb Lewis <herb@samba.org> | 2006-12-12 17:38:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:26 -0500 |
commit | 791f48f167de339c8ae371e5c80706511fd10018 (patch) | |
tree | de938796cdcc79502b4c8257b9239e5f5070051f /source3/client/smbmount.c | |
parent | 243b462b094f80d89020bdad78a531a857281bad (diff) | |
download | samba-791f48f167de339c8ae371e5c80706511fd10018.tar.gz samba-791f48f167de339c8ae371e5c80706511fd10018.tar.bz2 samba-791f48f167de339c8ae371e5c80706511fd10018.zip |
r20124: clean up nested extern declaration warnings
(This used to be commit ac3eb7813e33b9a2e78c9158433f7ed62c3b62bb)
Diffstat (limited to 'source3/client/smbmount.c')
-rw-r--r-- | source3/client/smbmount.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index 56b7e9e623..805245b634 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -26,6 +26,8 @@ extern BOOL in_client; extern pstring user_socket_options; +extern char *optarg; +extern int optind; static pstring credentials; static pstring my_netbios_name; @@ -712,7 +714,6 @@ static void parse_mount_smb(int argc, char **argv) int opt; char *opts; char *opteq; - extern char *optarg; int val; char *p; @@ -862,8 +863,6 @@ static void parse_mount_smb(int argc, char **argv) ****************************************************************************/ int main(int argc,char *argv[]) { - extern char *optarg; - extern int optind; char *p; DEBUGLEVEL = 1; |