summaryrefslogtreecommitdiffstats
path: root/source/smbd/sesssetup.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2005-04-06 16:28:04 +0000
committerHerb Lewis <herb@samba.org>2005-04-06 16:28:04 +0000
commit261e6660e43bfdcc5ff6e2ec9297053af1eebe2c (patch)
tree76eb8431f1185778c29fb3adbc8d1b0e724af38c /source/smbd/sesssetup.c
parent830cd57aca089f6b446ca1b86cf2b47742926692 (diff)
downloadsamba-261e6660e43bfdcc5ff6e2ec9297053af1eebe2c.tar.gz
samba-261e6660e43bfdcc5ff6e2ec9297053af1eebe2c.tar.xz
samba-261e6660e43bfdcc5ff6e2ec9297053af1eebe2c.zip
r6225: get rid of warnings from my compiler about nested externs
Diffstat (limited to 'source/smbd/sesssetup.c')
-rw-r--r--source/smbd/sesssetup.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index 60867df6535..9fbf0b1d51d 100644
--- a/source/smbd/sesssetup.c
+++ b/source/smbd/sesssetup.c
@@ -25,6 +25,12 @@
uint32 global_client_caps = 0;
+extern BOOL global_encrypted_passwords_negotiated;
+extern BOOL global_spnego_negotiated;
+extern enum protocol_types Protocol;
+extern int max_send;
+extern struct auth_context *negprot_global_auth_context;
+
static struct auth_ntlmssp_state *global_ntlmssp_state;
/*
@@ -637,13 +643,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,
fstring native_lanman;
fstring primary_domain;
static BOOL done_sesssetup = False;
- extern BOOL global_encrypted_passwords_negotiated;
- extern BOOL global_spnego_negotiated;
- extern enum protocol_types Protocol;
- extern int max_send;
auth_usersupplied_info *user_info = NULL;
- extern struct auth_context *negprot_global_auth_context;
auth_serversupplied_info *server_info = NULL;
NTSTATUS nt_status;