From 3dde0cbb769b92d922be13677ad076cae9b6a693 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Jan 2009 12:03:45 +0100 Subject: s3:smbd: move all globals and static variables in globals.[ch] The goal is to move all this variables into a big context structure. metze --- source3/smbd/reply.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 593558e399..24f6cd30bd 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -25,13 +25,9 @@ */ #include "includes.h" +#include "smbd/globals.h" -/* look in server.c for some explanation of these variables */ extern enum protocol_types Protocol; -extern int max_recv; -extern uint32 global_client_caps; - -extern bool global_encrypted_passwords_negotiated; /**************************************************************************** Ensure we check the path in *exactly* the same way as W2K for a findfirst/findnext @@ -424,8 +420,6 @@ void reply_special(char *inbuf) */ char outbuf[smb_size]; - static bool already_got_session = False; - *name1 = *name2 = 0; memset(outbuf, '\0', sizeof(outbuf)); -- cgit