summaryrefslogtreecommitdiff
path: root/source3/smbd/sesssetup.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2006-12-12 17:38:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:26 -0500
commit791f48f167de339c8ae371e5c80706511fd10018 (patch)
treede938796cdcc79502b4c8257b9239e5f5070051f /source3/smbd/sesssetup.c
parent243b462b094f80d89020bdad78a531a857281bad (diff)
downloadsamba-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/smbd/sesssetup.c')
-rw-r--r--source3/smbd/sesssetup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 1603490441..4d731f9c59 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -23,6 +23,12 @@
#include "includes.h"
+extern struct auth_context *negprot_global_auth_context;
+extern BOOL global_encrypted_passwords_negotiated;
+extern BOOL global_spnego_negotiated;
+extern enum protocol_types Protocol;
+extern int max_send;
+
uint32 global_client_caps = 0;
/*
@@ -840,13 +846,7 @@ 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;