diff options
author | Herb Lewis <herb@samba.org> | 2005-04-06 16:28:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:30 -0500 |
commit | efea76ac71412f8622cd233912309e91b9ea52da (patch) | |
tree | 76eb8431f1185778c29fb3adbc8d1b0e724af38c /source/smbd/negprot.c | |
parent | c8f808b0763f7abcc0d879057f4f17002e65b4e1 (diff) | |
download | samba-efea76ac71412f8622cd233912309e91b9ea52da.tar.gz samba-efea76ac71412f8622cd233912309e91b9ea52da.tar.xz samba-efea76ac71412f8622cd233912309e91b9ea52da.zip |
r6225: get rid of warnings from my compiler about nested externs
Diffstat (limited to 'source/smbd/negprot.c')
-rw-r--r-- | source/smbd/negprot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index bdb15cb3f7c..054afac683d 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -20,6 +20,7 @@ #include "includes.h" +extern fstring remote_proto; extern enum protocol_types Protocol; extern int max_recv; BOOL global_encrypted_passwords_negotiated = False; @@ -549,7 +550,6 @@ int reply_negprot(connection_struct *conn, SSVAL(outbuf,smb_vwv0,choice); if(choice != -1) { - extern fstring remote_proto; fstrcpy(remote_proto,supported_protocols[protocol].short_name); reload_services(True); outsize = supported_protocols[protocol].proto_reply_fn(inbuf, outbuf); |