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/smbd | |
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/smbd')
-rw-r--r-- | source3/smbd/blocking.c | 3 | ||||
-rw-r--r-- | source3/smbd/nttrans.c | 1 | ||||
-rw-r--r-- | source3/smbd/sesssetup.c | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c index f489a8e96b..aeb2bd6b6b 100644 --- a/source3/smbd/blocking.c +++ b/source3/smbd/blocking.c @@ -22,6 +22,8 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_LOCKING +extern int max_send; + /**************************************************************************** This is the structure to queue to implement blocking locks. notify. It consists of the requesting SMB and the expiry time. @@ -425,7 +427,6 @@ Waiting....\n", static BOOL process_trans2(blocking_lock_record *blr) { - extern int max_send; char *inbuf = blr->inbuf; char *outbuf; char params[2]; diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index d41125564c..3ade5b01c6 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -2345,7 +2345,6 @@ static int call_nt_transact_get_user_quota(connection_struct *conn, char *inbuf, SMB_NTQUOTA_STRUCT qt; SMB_NTQUOTA_LIST *tmp_list; SMB_NTQUOTA_HANDLE *qt_handle = NULL; - extern struct current_user current_user; ZERO_STRUCT(qt); 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; |