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/trans2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/smbd/trans2.c') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 0c449f4ee9..9644e3d1ad 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -24,10 +24,9 @@ */ #include "includes.h" +#include "smbd/globals.h" -extern int max_send; extern enum protocol_types Protocol; -extern uint32 global_client_caps; #define get_file_size(sbuf) ((sbuf).st_size) #define DIR_ENTRY_SAFETY_MARGIN 4096 @@ -7220,7 +7219,6 @@ static void call_trans2findnotifyfirst(connection_struct *conn, char **ppdata, int total_data, unsigned int max_data_bytes) { - static uint16 fnf_handle = 257; char *params = *pparams; uint16 info_level; -- cgit