Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
authorTim Potter <tpot@samba.org>
Tue, 2 Oct 2001 04:29:50 +0000 (04:29 +0000)
committerTim Potter <tpot@samba.org>
Tue, 2 Oct 2001 04:29:50 +0000 (04:29 +0000)
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)

222 files changed:
source3/auth/auth.c
source3/auth/auth_domain.c
source3/auth/auth_rhosts.c
source3/auth/auth_sam.c
source3/auth/auth_server.c
source3/auth/auth_unix.c
source3/auth/auth_util.c
source3/auth/pampass.c
source3/auth/pass_check.c
source3/client/client.c
source3/client/clitar.c
source3/client/smbmount.c
source3/groupdb/aliasdb.c
source3/groupdb/aliasfile.c
source3/groupdb/groupdb.c
source3/groupdb/groupfile.c
source3/groupdb/mapping.c
source3/include/debug.h
source3/lib/access.c
source3/lib/bitmap.c
source3/lib/charcnv.c
source3/lib/cmd_interp.c
source3/lib/crc32.c
source3/lib/fault.c
source3/lib/genrand.c
source3/lib/hash.c
source3/lib/interface.c
source3/lib/netatalk.c
source3/lib/pidfile.c
source3/lib/replace.c
source3/lib/smbrun.c
source3/lib/substitute.c
source3/lib/sysacls.c
source3/lib/system.c
source3/lib/time.c
source3/lib/username.c
source3/lib/util.c
source3/lib/util_file.c
source3/lib/util_seaccess.c
source3/lib/util_sec.c
source3/lib/util_sid.c
source3/lib/util_sock.c
source3/lib/util_str.c
source3/lib/util_unistr.c
source3/libsmb/clientgen.c
source3/libsmb/clierror.c
source3/libsmb/clioplock.c
source3/libsmb/credentials.c
source3/libsmb/domain_client_validate.c
source3/libsmb/namequery.c
source3/libsmb/nmblib.c
source3/libsmb/pwd_cache.c
source3/libsmb/smbencrypt.c
source3/libsmb/smberr.c
source3/libsmb/unexpected.c
source3/locking/brlock.c
source3/locking/locking.c
source3/locking/posix.c
source3/msdfs/msdfs.c
source3/nmbd/asyncdns.c
source3/nmbd/nmbd.c
source3/nmbd/nmbd_become_dmb.c
source3/nmbd/nmbd_become_lmb.c
source3/nmbd/nmbd_browserdb.c
source3/nmbd/nmbd_browsesync.c
source3/nmbd/nmbd_elections.c
source3/nmbd/nmbd_incomingdgrams.c
source3/nmbd/nmbd_incomingrequests.c
source3/nmbd/nmbd_lmhosts.c
source3/nmbd/nmbd_logonnames.c
source3/nmbd/nmbd_mynames.c
source3/nmbd/nmbd_namelistdb.c
source3/nmbd/nmbd_namequery.c
source3/nmbd/nmbd_nameregister.c
source3/nmbd/nmbd_namerelease.c
source3/nmbd/nmbd_nodestatus.c
source3/nmbd/nmbd_packets.c
source3/nmbd/nmbd_processlogon.c
source3/nmbd/nmbd_responserecordsdb.c
source3/nmbd/nmbd_sendannounce.c
source3/nmbd/nmbd_serverlistdb.c
source3/nmbd/nmbd_subnetdb.c
source3/nmbd/nmbd_synclists.c
source3/nmbd/nmbd_winsproxy.c
source3/nmbd/nmbd_winsserver.c
source3/nmbd/nmbd_workgroupdb.c
source3/nsswitch/winbindd.h
source3/nsswitch/wins.c
source3/param/params.c
source3/passdb/ldap.c
source3/passdb/pampass.c
source3/passdb/pass_check.c
source3/passdb/passdb.c
source3/passdb/passgrp.c
source3/passdb/pdb_ldap.c
source3/passdb/pdb_smbpasswd.c
source3/passdb/smbpassgroup.c
source3/printing/lpq_parse.c
source3/printing/nt_printing.c
source3/printing/pcap.c
source3/printing/print_cups.c
source3/printing/print_generic.c
source3/printing/print_svid.c
source3/printing/printfsp.c
source3/printing/printing.c
source3/profile/profile.c
source3/rpc_client/cli_connect.c
source3/rpc_client/cli_login.c
source3/rpc_client/cli_lsarpc.c
source3/rpc_client/cli_netlogon.c
source3/rpc_client/cli_pipe.c
source3/rpc_client/cli_reg.c
source3/rpc_client/cli_samr.c
source3/rpc_client/cli_spoolss.c
source3/rpc_client/cli_spoolss_notify.c
source3/rpc_client/cli_srvsvc.c
source3/rpc_client/cli_use.c
source3/rpc_client/cli_wkssvc.c
source3/rpc_client/msrpc_spoolss.c
source3/rpc_client/ncacn_np_use.c
source3/rpc_client/ntclienttrust.c
source3/rpc_parse/parse_creds.c
source3/rpc_parse/parse_dfs.c
source3/rpc_parse/parse_lsa.c
source3/rpc_parse/parse_misc.c
source3/rpc_parse/parse_net.c
source3/rpc_parse/parse_prs.c
source3/rpc_parse/parse_reg.c
source3/rpc_parse/parse_rpc.c
source3/rpc_parse/parse_samr.c
source3/rpc_parse/parse_sec.c
source3/rpc_parse/parse_spoolss.c
source3/rpc_parse/parse_srv.c
source3/rpc_parse/parse_wks.c
source3/rpc_server/srv_dfs.c
source3/rpc_server/srv_dfs_nt.c
source3/rpc_server/srv_lsa.c
source3/rpc_server/srv_lsa_hnd.c
source3/rpc_server/srv_lsa_nt.c
source3/rpc_server/srv_netlog.c
source3/rpc_server/srv_netlog_nt.c
source3/rpc_server/srv_pipe.c
source3/rpc_server/srv_pipe_hnd.c
source3/rpc_server/srv_reg.c
source3/rpc_server/srv_reg_nt.c
source3/rpc_server/srv_samr.c
source3/rpc_server/srv_samr_nt.c
source3/rpc_server/srv_spoolss.c
source3/rpc_server/srv_spoolss_nt.c
source3/rpc_server/srv_srvsvc.c
source3/rpc_server/srv_srvsvc_nt.c
source3/rpc_server/srv_util.c
source3/rpc_server/srv_wkssvc.c
source3/rpc_server/srv_wkssvc_nt.c
source3/rpcclient/cmd_dfs.c
source3/rpcclient/cmd_lsarpc.c
source3/rpcclient/cmd_netlogon.c
source3/rpcclient/cmd_reg.c
source3/rpcclient/cmd_spoolss.c
source3/rpcclient/cmd_srvsvc.c
source3/rpcclient/cmd_wkssvc.c
source3/rpcclient/rpcclient.c
source3/rpcclient/samsync.c
source3/smbd/auth.c
source3/smbd/auth_domain.c
source3/smbd/auth_rhosts.c
source3/smbd/auth_server.c
source3/smbd/auth_smbpasswd.c
source3/smbd/auth_unix.c
source3/smbd/auth_util.c
source3/smbd/blocking.c
source3/smbd/chgpasswd.c
source3/smbd/close.c
source3/smbd/conn.c
source3/smbd/connection.c
source3/smbd/dfree.c
source3/smbd/dir.c
source3/smbd/dosmode.c
source3/smbd/error.c
source3/smbd/fileio.c
source3/smbd/filename.c
source3/smbd/files.c
source3/smbd/groupname.c
source3/smbd/ipc.c
source3/smbd/lanman.c
source3/smbd/mangle.c
source3/smbd/message.c
source3/smbd/negprot.c
source3/smbd/notify.c
source3/smbd/notify_hash.c
source3/smbd/notify_kernel.c
source3/smbd/nttrans.c
source3/smbd/open.c
source3/smbd/oplock.c
source3/smbd/oplock_irix.c
source3/smbd/oplock_linux.c
source3/smbd/password.c
source3/smbd/pipes.c
source3/smbd/process.c
source3/smbd/quotas.c
source3/smbd/reply.c
source3/smbd/sec_ctx.c
source3/smbd/server.c
source3/smbd/service.c
source3/smbd/trans2.c
source3/smbd/uid.c
source3/smbd/vfs.c
source3/smbwrapper/shared.c
source3/smbwrapper/smbw.c
source3/smbwrapper/smbw_dir.c
source3/smbwrapper/smbw_stat.c
source3/torture/masktest.c
source3/torture/rpctorture.c
source3/utils/nmblookup.c
source3/utils/pdbedit.c
source3/utils/rpccheck.c
source3/utils/smbfilter.c
source3/utils/smbgroupedit.c
source3/utils/smbpasswd.c
source3/utils/status.c
source3/utils/testparm.c
source3/utils/testprns.c

index 6aa2714b0ba859517ef0a2f3b560a57f61631d2f..e76324213ef3a33fc0aa7e754019bb5573b1d9e0 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
  Check user is in correct domain if required
 ****************************************************************************/
@@ -257,4 +255,3 @@ BOOL password_ok(char *user, char *password, int pwlen)
 
        return False;
 }
-
index 111f0f143c1848df3a06cb1c0de7e0db4ce38c30..bcd41bacdba35d7064f83f82fbb301970b1db005 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 BOOL global_machine_password_needs_changing = False;
 
 /****************************************************************************
index e319d8d5f81906fa0aabb8ca5c0b01d37a94b16a..cd1bf57f8659097a1920b54899a78e6b860e4ba8 100644 (file)
@@ -21,9 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 /****************************************************************************
  Read the a hosts.equiv or .rhosts file and check if it
  allows this user from this machine.
@@ -181,6 +178,3 @@ NTSTATUS check_rhosts_security(const auth_usersupplied_info *user_info,
 
        return nt_status;
 }
-
-
-
index 835ade739fd58a4593a59c663dd1f4031c1ebf71..da223368b8f40a60024bc3b8f1a867e145832499 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 core of smb password checking routine.
 ****************************************************************************/
@@ -319,6 +317,3 @@ NTSTATUS check_smbpasswd_security(const auth_usersupplied_info *user_info, auth_
        pdb_free_sam(&sampass);
        return nt_status;
 }
-
-
-
index e4c91c4dcbe0e141351354d858d5907b9df1a84f..2574a52ef3dd2c64109370c246d6c4a62f2a1932 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 
 /****************************************************************************
@@ -228,5 +226,3 @@ use this machine as the password server.\n"));
 
        return(nt_status);
 }
-
-
index 0d73988d8af9f5790b1d38a098c8ff956bcf8c1c..2f9034e3e54872498338c6711877fb8584107f17 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 update the encrypted smbpasswd file from the plaintext username and password
 
@@ -105,5 +103,3 @@ NTSTATUS check_unix_security(const auth_usersupplied_info *user_info, auth_serve
 
        return nt_status;
 }
-
-
index 1967c32b9a16d694f15404a3377ce11e8fc77be9..d3b9aa7001e75cebd1795ef1ffc266850395d548 100644 (file)
@@ -19,9 +19,8 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
-#include "includes.h"
 
-extern int DEBUGLEVEL;
+#include "includes.h"
 
 /* Data to do lanman1/2 password challenge. */
 static unsigned char saved_challenge[8];
index 116ecaf95b1f65a73be6976717e370cb3fea2d75..6d0dabcd9d036008d6fa416ab98f282786e5153a 100644 (file)
@@ -30,8 +30,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #ifdef WITH_PAM
 
 /*******************************************************************
index 594983e53bf5886ee1ca16afbdfa49f0d6255137..a57cb2ff06beede78e6bd519940e2384a27223b4 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* these are kept here to keep the string_combinations function simple */
 static fstring this_user;
 #if !(defined(WITH_PAM) || defined(KRB4_AUTH) || defined(KRB5_AUTH))
@@ -896,6 +894,3 @@ NTSTATUS pass_check(struct passwd *pass, char *user, char *password,
 
        return NT_STATUS_WRONG_PASSWORD;
 }
-
-
-
index 448f4314c814040aa74242bf6c4ee68f7aee473e..67b370901ff7fd1e49ca8c83b8a1fc7be4c99b8b 100644 (file)
@@ -61,7 +61,6 @@ time_t newer_than = 0;
 int archive_level = 0;
 
 extern pstring debugf;
-extern int DEBUGLEVEL;
 
 BOOL translation = False;
 
index 39c31625b4171d587fbabd7493f4cfb4559c1976..f2f373ffba401093259b1291300503c2a12da418 100644 (file)
@@ -69,7 +69,6 @@ typedef struct
 stack dir_stack = {NULL, 0}; /* Want an empty stack */
 
 #define SEPARATORS " \t\n\r"
-extern int DEBUGLEVEL;
 extern struct cli_state *cli;
 
 /* These defines are for the do_setrattr routine, to indicate
index 56a14437222be230c9c7e976430fdf7482837072..27f33db92db73c25eb98162d7971124e9e0c0904 100644 (file)
@@ -28,7 +28,6 @@
 #include <linux/smb_fs.h>
 
 extern struct in_addr ipzero;
-extern int DEBUGLEVEL;
 
 extern BOOL in_client;
 extern pstring user_socket_options;
index 2c96e92ee1066da7b47a6122f6f40c52d7199b02..62513b2e33dc6ede8583255125b417091730017f 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern fstring global_sam_name;
 
 /*
index 7f07192c748434196be6869f0a9bd5cdca5033a8..21c8a1a5001b58a6f371811f91bbc02b30229425 100644 (file)
@@ -22,7 +22,6 @@
 #ifdef USE_SMBPASS_DB
 
 static int al_file_lock_depth = 0;
-extern int DEBUGLEVEL;
 
 static char s_readbuf[1024];
 
index 8b29a32423665c4b51b9870688638b4f5227871d..69b4137472f1033eb1fccda473cd2092a901fe43 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*
  * NOTE. All these functions are abstracted into a structure
  * that points to the correct function for the selected database. JRA.
index f47eee555ff7fd98bf38a90b8e692afc33256b7c..557ae92530f35edaaa60ee13ef213d57407dd9ae 100644 (file)
@@ -22,7 +22,6 @@
 #ifdef USE_SMBPASS_DB
 
 static int gp_file_lock_depth = 0;
-extern int DEBUGLEVEL;
 
 static char s_readbuf[1024];
 
index a6a63cbc2a8a3f5574dd02820f05cf7f1be5ace8..5173132af89a752c304dfd0dd541da9bc4451e7b 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern DOM_SID global_sam_sid;
 
 static TDB_CONTEXT *tdb; /* used for driver files */
index b726859a0bc74e52f67281538727fa5eeb5986c0..cad802d8ca33720ca2c91a3618c374f76b23fd1a 100644 (file)
@@ -41,7 +41,6 @@ int  Debug1( char *, ... ) PRINTF_ATTRIBUTE(1,2);
 BOOL dbgtext( char *, ... ) PRINTF_ATTRIBUTE(1,2);
 
 extern XFILE *dbf;
-extern int DEBUGLEVEL;
 
 /* If we have these macros, we can add additional info to the header. */
 #ifdef HAVE_FILE_MACRO
index b3d183848406ef9e7fadec106b56a29b26a883d0..ff929d3549fa4e699fcc8576e223f464824326a5 100644 (file)
@@ -10,8 +10,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #define        FAIL            (-1)
 
 /* masked_match - match address against netnumber/netmask */
index 2ae9defb2d58e406e735b1f4bb915db941462db5..b130467b22fc8297badc4a3f222e95890a9b0ce5 100644 (file)
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* these functions provide a simple way to allocate integers from a
    pool without repitition */
 
-
 /****************************************************************************
 allocate a bitmap of the specified size
 ****************************************************************************/
index 55d56acf59cffbe879d31dbf50aaa6142d16fb2c..45d7d4d8d5f34382c952b3edef156a28fa041aa8 100644 (file)
@@ -22,8 +22,6 @@
 */
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static pstring cvtbuf;
 
 static smb_iconv_t conv_handles[NUM_CHARSETS][NUM_CHARSETS];
index 5ebb8a94d2258361879873914f954bb7a4482012..54d023e9f7295b991abbf28b217a73303d0aba13 100644 (file)
@@ -41,9 +41,6 @@ extern pstring user_socket_options;
 extern struct user_creds *usr_creds;
 
 
-extern int DEBUGLEVEL;
-
-
 #define CNV_LANG(s) dos2unix_format(s,False)
 #define CNV_INPUT(s) unix2dos_format(s,True)
 
index 16b337c764bd42c0a5eba03fc223bf62dfc530c8..e026fbf8615846c4228b5c9b0ad42e2ee48e4af7 100644 (file)
@@ -7,7 +7,6 @@
  */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
 
 static unsigned long CRCTable[256] = 
 {
index 29272f19280a3a9104fda9c1f8966cdc3fe46fee..885e35e02339fda93c2d1db4209532be5be3da12 100644 (file)
 */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
-
 
 static void (*cont_fn)(void *);
 
-
 /*******************************************************************
 report a fault
 ********************************************************************/
index c4fb925a75b1065acb32068623359f3a3aa2adce..39e56db960936c350a9eb16080aaa46ae0f5f790 100644 (file)
@@ -23,9 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 static unsigned char hash[258];
 static uint32 counter;
 unsigned char *reseed_data;
index 3abdc2ef11baf17c50ab9acda9897e0e7bb330ef..68c334a8ca87256761f1ab2b765211d33b931006 100644 (file)
@@ -28,8 +28,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static BOOL enlarge_hash_table(hash_table *table);
 static int primes[] = 
         {17, 37, 67, 131, 257, 521, 1031, 2053, 4099, 8209, 16411};
index c68b405f7c7c48b3b829e27a1198416133b05dc1..70ffcb0e1d5a90c0d9515607625379fb3e9fb042 100644 (file)
@@ -26,8 +26,6 @@
 static struct iface_struct *probed_ifaces;
 static int total_probed;
 
-extern int DEBUGLEVEL;
-
 struct in_addr ipzero;
 struct in_addr allones_ip;
 struct in_addr loopback_ip;
index ae0a57154e140d6fab8d4312b166775e8896ffa2..654d3f78d4c634e3c4fb6691853deea13eca1f93 100644 (file)
@@ -28,8 +28,6 @@
 
 #ifdef WITH_NETATALK
  
-extern int DEBUGLEVEL;
-
 /*****************
    ntalk_resourcepath: creates the path to the netatalk resource fork for
                         a given file
@@ -155,5 +153,4 @@ int ntalk_chmod(const char *fname, mode_t perms)
   return chmod(fname, perms);
 }
 
-
 #endif /* WITH_NETATALK */
index a26aa12a3c1bb18f41558af0798a5e45977367f4..a9b2da0d7fde6554e841e46a191e34be658bf9f9 100644 (file)
@@ -23,9 +23,6 @@
 
 #include "includes.h"
 
-
-extern int DEBUGLEVEL;
-
 #ifndef O_NONBLOCK
 #define O_NONBLOCK
 #endif
index e1871a6f558d9394f1333689e50be222af62f7fa..b972c745b0895439da149d6ff0ace22318f9523e 100644 (file)
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
  void replace_dummy(void);
  void replace_dummy(void) {}
 
-
 #ifndef HAVE_FTRUNCATE
  /*******************************************************************
 ftruncate for operating systems that don't have it
index 62378503e0f7abe64e3bbae5a6549c7b0fdd51d9..1ace6e3a9912110c917d4fd6ccb953d4d9ba3838 100644 (file)
@@ -24,8 +24,6 @@
 /* need to move this from here!! need some sleep ... */
 struct current_user current_user;
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 This is a utility function of smbrun().
 ****************************************************************************/
index 7f597d37f2050e4c51f6ecc4a180b7c7ea2166ae..71bd8c777ec066e73059b6a77a292a8a4ba13c6b 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 fstring local_machine="";
 fstring remote_arch="UNKNOWN";
 userdom_struct current_user_info;
@@ -32,7 +30,6 @@ BOOL sam_logon_in_ssb = False;
 fstring remote_proto="UNKNOWN";
 fstring remote_machine="";
 
-
 /*******************************************************************
  Given a pointer to a %$(NAME) expand it as an environment variable.
  Return the number of characters by which the pointer should be advanced.
@@ -318,4 +315,3 @@ void standard_sub_vsnum(char *str, user_struct *vuser, int snum)
 {
        standard_sub_advanced(snum, vuser->user.unix_name, "", -1, str);
 }
-
index 1c840d84ca3b2ebce4cf4643b5144baa8b654a6f..c618fbe0e866ef265158a81d2734655073998f31 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*
  This file wraps all differing system ACL interfaces into a consistent
  one based on the POSIX interface. It also returns the correct errors
index 822aeb900444823bb6fe6082f5582c88df99b6be..4114ce456cf568cd333c6ddae313e0f1b6f303ee 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*
    The idea is that this file will eventually have wrappers around all
    important system calls in samba. The aims are:
index f5cd96223c84f713fbaf53450f78062988db281b..59106386d43c232031d1c08d0354f728315d9158 100644 (file)
@@ -30,8 +30,6 @@
 int serverzone=0;
 int extra_time_offset = 0;
 
-extern int DEBUGLEVEL;
-
 #ifndef CHAR_BIT
 #define CHAR_BIT 8
 #endif
index 2af477577eba8e5bac01cd69a408dc0fed398b42..24195b196bb750b0f9b9c44942f6f78c729fdc1c 100644 (file)
@@ -20,7 +20,6 @@
 */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
 
 /* internal functions */
 static struct passwd *uname_string_combinations(char *s, struct passwd * (*fn) (char *), int N);
index fe3e10e6b51f7bb66fc9e090dd18d9b95e27dfab..7fbdb44b4a1837f4e6a886351cacdd68dbf99cb4 100644 (file)
@@ -58,8 +58,6 @@ extern SSL  *ssl;
 extern int  sslFd;
 #endif  /* WITH_SSL */
 
-extern int DEBUGLEVEL;
-
 int Protocol = PROTOCOL_COREPLUS;
 
 /* a default finfo structure to ensure all fields are sensible */
index 1d7b85f75cba511adc21a9367cc9e49a3ee0dffe..3d072bb170647c43d4b8b1ff8eb1158ebe521082 100644 (file)
@@ -19,8 +19,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static int gotalarm;
 
 /***************************************************************
index ec1b56ae86092d2b5424a196de0b9c831dc5cd34..82fb1e8527bc1b0e5b6e91dc7c21c5b2c143e8cf 100644 (file)
@@ -24,8 +24,6 @@
 #include "nterr.h"
 #include "sids.h"
 
-extern int DEBUGLEVEL;
-
 /**********************************************************************************
  Check if this ACE has a SID in common with the token.
 **********************************************************************************/
index 231f0b178da664dda219ac5b13907fd0c08a4632..a07e7d0e1af0ca2e3e1e1efbe101f836c5f99b58 100644 (file)
@@ -21,7 +21,6 @@
 
 #ifndef AUTOCONF_TEST
 #include "includes.h"
-extern int DEBUGLEVEL;
 #else
 /* we are running this code in autoconf test mode to see which type of setuid
    function works */
index 10813a4605445a99a979ff60c4b2cd2243db0120..8903bb1465738e5ab922a99ac204051407a64f70 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-
-extern int DEBUGLEVEL;
 DOM_SID global_sam_sid;
 extern pstring global_myname;
 extern fstring global_myworkgroup;
index e1f291386ec3ae6a46f8053b534885128409c633..5979cd8b5a2ff4f10b1c754b77ecf1d3129020d2 100644 (file)
@@ -28,8 +28,6 @@ extern SSL  *ssl;
 extern int  sslFd;
 #endif  /* WITH_SSL */
 
-extern int DEBUGLEVEL;
-
 /* the last IP received from */
 struct in_addr lastip;
 
@@ -1243,4 +1241,3 @@ int sock_exec(const char *prog)
        close(fd[1]);
        return fd[0];
 }
-
index 8518d75a49b55869f45b737b4ae7ef186f1186e3..0e7a7c02f5c89aaed73790a63e055506b4d15903 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
   Get the next token from a string, return False if none found
   handles double-quotes. 
@@ -855,4 +853,3 @@ void strupper_m(char *s)
         * as source string even in multibyte encoding. (VIV) */
        unix_strupper(s,strlen(s)+1,s,strlen(s)+1);     
 }
-
index 887c15f0d9c09a9546be0d346a2550de15c163bc..1054eab6e1afda9573a5717480702ba2464b52c9 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #ifndef MAXUNI
 #define MAXUNI 1024
 #endif
@@ -453,4 +451,3 @@ smb_ucs2_t *strncat_wa(smb_ucs2_t *dest, const char *src, const size_t max)
        SAFE_FREE(ucs2_src);
        return dest;
 }
-
index 79757947b4f0c20d44f36e483830eb4c1e668b46..62b46a7904fc0841d50f7036ed12a5ad554fa123 100644 (file)
@@ -23,9 +23,6 @@
 
 #include "includes.h"
 
-
-extern int DEBUGLEVEL;
-
 /*
  * Change the port number used to call on 
  */
@@ -248,4 +245,3 @@ uint16 cli_setpid(struct cli_state *cli, uint16 pid)
        cli->pid = pid;
        return ret;
 }
-
index 5bc3992944336b3f8be5facd1cae916f910ef0e0..bcecc92d778e3482648ddc7f53aaa57dc641fb8a 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*****************************************************
  RAP error codes - a small start but will be extended.
 *******************************************************/
@@ -267,4 +265,3 @@ BOOL cli_is_dos_error(struct cli_state *cli)
 
         return cli_is_error(cli) && !(flgs2 & FLAGS2_32_BIT_ERROR_CODES);
 }
-
index a52dcf3a3e3f24ead8760adbea844db6007200cc..b38933181eb21b11cde7a784a5de224357d0d24e 100644 (file)
@@ -22,8 +22,6 @@
 #define NO_SYSLOG
 
 #include "includes.h"
-extern int DEBUGLEVEL;
-
 
 /****************************************************************************
 send an ack for an oplock break request
@@ -69,4 +67,3 @@ void cli_oplock_handler(struct cli_state *cli,
 {
        cli->oplock_handler = handler;
 }
-
index d4c879206869aafdf501233b512b29e4adc8a2c3..5f65c13edd900081b5f2847a632332584ed36bcd 100644 (file)
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
-
 /****************************************************************************
 represent a credential as a string
 ****************************************************************************/
index 5a8ae372ea073f3f28492abefbe241b4f3daaa0b..255b37883d56deba82d1a35e30bac767305edfbf 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern struct in_addr ipzero;
 
 extern pstring global_myname;
index b82e98b0fce8c53feb27fb8792e7dfc3ce670d2a..0dbf4b45642e5fcc8308e66521d84bc4310d37dc 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* nmbd.c sets this to True. */
 BOOL global_in_nmbd = False;
 
index 4ecc887524ca7f6cd0b11bcf8d540d3b15215825..d7bd7b49a0bd0567e42b3f1a8fa6282c58130db9 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 int num_good_sends = 0;
 int num_good_receives = 0;
 
@@ -1269,5 +1267,3 @@ int name_len(char *s1)
 
        return(len);
 } /* name_len */
-
-
index 37a07a0001b83fe3b343f8abb902a44c2b9fd650..64e23e0febcf6148c048392d07eac87e3f96c68b 100644 (file)
@@ -21,9 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 /****************************************************************************
 initialises a password structure
 ****************************************************************************/
index b1a5c9fbb83ebd6b11d2bd0ebfe00c4b3164f89d..4b127051b4b4a3d864630b653e4baab00c6da316 100644 (file)
@@ -23,9 +23,6 @@
 */
 
 #include "includes.h"
-
-extern int DEBUGLEVEL;
-
 #include "byteorder.h"
 
 /*
index c881b5420364030e6a63f6982bf58cff4c2c2952..0b59b5b1a518d16d1760fc09bdd169b48aeffea3 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* error code stuff - put together by Merik Karman
    merik@blackadder.dsh.oz.au */
 
@@ -200,4 +198,3 @@ WERROR map_werror_from_unix(int error)
        NTSTATUS status = map_nt_error_from_unix(error);
        return ntstatus_to_werror(status);
 }
-
index 7d221e173e85693c8097992744e9a8e1bb3bcecf..b77e7490a0d43f394cc05437f113fa37b706598b 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static TDB_CONTEXT *tdbd = NULL;
 
 /* the key type used in the unexpeceted packet database */
index b16cc539c8d55ff376a1fae15fde5b94887fa931..cbf98c46a5e7a34833ca289a7155e926a74ed0e7 100644 (file)
@@ -28,8 +28,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #define ZERO_ZERO 0
 
 /* This contains elements that differentiate locks. The smbpid is a
index db0de5bb3f2d6c0adc09ccf7bfac2579ae632be1..70995da3e222c4671760661e4fdd4f188e3c9a25 100644 (file)
@@ -36,7 +36,6 @@
 */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
 uint16 global_smbpid;
 
 /* the locking database handle */
index 8fbe2e2fda755675fa831f0d90321db00df3a1ba..8b3538d8ca11e62b45958d62abe8b684b2e61816 100644 (file)
@@ -24,7 +24,6 @@
 */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
 
 /*
  * The POSIX locking database handle.
index 5aaca4ef34764f2366536d7fa9167bbd3ac5dca3..5953da1843e4fae1e2bef348e5e5e62370a4dfcc 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 /**********************************************************************
@@ -737,5 +736,3 @@ int enum_msdfs_links(struct junction_map* jn)
        }
        return jn_count;
 }
-
-
index 1fe04a39e375ab227b5c5a392b11691fd97f3c5b..5ae2eb202da2bbb19ce4e794fc4c1fa25852247f 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /***************************************************************************
   Add a DNS result to the name cache.
 ****************************************************************************/
index 6fead637ebbff644c23bedef53c21f3ba45b81d6..3c93f306b8d85511ef390b44f6e830df62154e3f 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring debugf;
 pstring servicesf = CONFIGFILE;
 
@@ -878,4 +876,3 @@ static void usage(char *pname)
     x_fclose(dbf);
   return(0);
 } /* main */
-
index 089aa8f16a0f02a7ea796850db3220ef2343eafb..8a9fbaedd592142e926fe360e94c51dfa406701d 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 extern char **my_netbios_names;
index 31c67ae7f3f46d87289cc8eaf582a6a245157176..52955d9bfc0d636a260b7acbbf441e391e9f5c66 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 extern uint16 samba_nb_type; /* Samba's NetBIOS name type. */
index 9523152840345e274cccee948ee1950a01f33140..cbf871a700d7d64f6481831418d48fe4ae590a49 100644 (file)
@@ -30,8 +30,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* -------------------------------------------------------------------------- **
  * Variables...
  *
index 23ca0a398f521ddd854e7aac5857acd0e1a9794c..6a8edd0eaf0e0323d0d7e685f4823a78a514025d 100644 (file)
@@ -25,7 +25,6 @@
 #include "includes.h"
 #include "smb.h"
 
-extern int DEBUGLEVEL;
 extern struct in_addr ipzero;
 extern pstring global_myname;
 extern fstring global_myworkgroup;
index 0fc3ab9a89645b85bdfddb933adb11d3872ef2a6..6db595269f7e82ec676cf616900687c5e3c86984 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 
index eaafd63f1adfef519a0762148a7144b0366c912d..d10e6ec0b0d48d2184e7c908d47ebad2564967f6 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 extern BOOL found_lm_clients;
index b390755be5bdb1057720faa0e658aa3398ccad0a..81e6bb9629f4e326670b5fab74c5cb350308e926 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern fstring global_myworkgroup;
 
 /****************************************************************************
index 04ab280784c694d82934ea8e178dbf53076b136c..4d819b41e96020fa35b74ad8ef09c9666b77d1a2 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 Load a lmhosts file.
 ****************************************************************************/
index c63de56a34a734bc57e2b68c50903366edfe9fcf..4f48b21b7fd7c87f4d853acae3e8e284ebfe42ff 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 extern char **my_netbios_names;
index 432a4736a47ee063ee634ff8a3709030cc6bfbb9..47655c804bb856d1529c4c7d8c1d1e247c563205 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern char **my_netbios_names;
 extern fstring global_myworkgroup;
 
index fe2c0c0f212fb5c71a4abbc01a1455bd6a69defe..aa9589e45a9e5a52d591ebfb509f9cafdb5b5aec 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern char **my_netbios_names;
 
 uint16 samba_nb_type = 0; /* samba's NetBIOS name type */
index b497526475eeae4c4d8eac8fb0d84977b403ccb5..1f0895ee37fd4c0e2de3a3bbca282063dd4be25a 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern struct in_addr ipzero;
 
 /****************************************************************************
index 6b7bb6a73a9bdfd0b47f5d74c874f174e936d2f3..24463e1f9b51da59ec75c93e9b8db757544852ed 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern fstring global_myworkgroup;
 
 /****************************************************************************
index 0f693c63d02703cce656d86ac17cf8e663d5e04f..30a9d165612ab587c8776e868e79156a80d3cf03 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
  Deal with a response packet when releasing one of our names.
 ****************************************************************************/
index d28ea1cff4edeeca4e4aec14904e23bdbde0d1d3..eeb532d410957e5b18e8a4234e55590f1a419866 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
  Deal with a successful node status response.
 ****************************************************************************/
index ab4b2c5e8904eed346e03b982aacf8d3c483d68d..ace4ddfa25cf29ecedcde08df1a79b5a02d990e2 100644 (file)
@@ -28,8 +28,6 @@ extern int ClientNMB;
 extern int ClientDGRAM;
 extern int global_nmb_port;
 
-extern int DEBUGLEVEL;
-
 extern int num_response_packets;
 
 extern struct in_addr loopback_ip;
index 811f963bad8711d0d445ff4bb19ca09ec15b3c78..bcd1e1a1ff302b5bb75c10da07501c587e8b4197 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 
index b4376d640508d58d99b2e81551dacd95ce48d719..b24c85a9d811e7e56688369745415c42204de389 100644 (file)
@@ -26,8 +26,6 @@
 
 extern int ClientNMB;
 
-extern int DEBUGLEVEL;
-
 extern struct in_addr ipzero;
 
 int num_response_packets = 0;
index 32a6d339dedcdb0fbf9f37a079996195460d2dc9..1f56dea882459ac7116a6eb549e34d983bfc33a9 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 extern char **my_netbios_names;
index cbc48d23139ce463ee25c8282f1f225c7c45a9f2..183ea343207e004286fa92d086beb49b9e2b9764 100644 (file)
@@ -27,8 +27,6 @@
 
 extern int ClientNMB;
 
-extern int DEBUGLEVEL;
-
 extern fstring global_myworkgroup;
 extern char **my_netbios_names;
 
index 996952451dd95b5788692594b9d7bbc5268dcf31..ebb6bfa9c6b74b69241d42aaac7ae00cce522029 100644 (file)
@@ -31,8 +31,6 @@ extern int ClientNMB;
 extern int ClientDGRAM;
 extern int global_nmb_port;
 
-extern int DEBUGLEVEL;
-
 extern fstring myworkgroup;
 extern char **my_netbios_names;
 extern struct in_addr ipzero;
index 7ba39f0cd4086bb9df1b50a8f72d7180d1912341..f6d1165e576d27cc7118844be7c23eca0ea2d820 100644 (file)
@@ -31,8 +31,6 @@
 #include "includes.h"
 #include "smb.h"
 
-extern int DEBUGLEVEL;
-
 struct sync_record {
        struct sync_record *next, *prev;
        fstring workgroup;
index d3118e82e1b7826c3833ad171ebe083b85de5cca..84102289587cc274b5d9851992df0d2bbf5f501a 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 Function called when the name lookup succeeded.
 ****************************************************************************/
index 621a23b9e21490963abe8716a347d11fa37a08f4..ea025e66f3d7357c04d37cd3665038cf94e665c5 100644 (file)
 #define WINS_LIST "wins.dat"
 #define WINS_VERSION 1
 
-extern int DEBUGLEVEL;
 extern struct in_addr ipzero;
 
-
 /****************************************************************************
 possibly call the WINS hook external program when a WINS change is made
 *****************************************************************************/
index 6bb156b41fc38caebf7934f010e16d711235f3a2..3b7a64b8e5bf2f43ce57bb3defb98998d24edf5b 100644 (file)
@@ -27,8 +27,6 @@
 
 extern int ClientNMB;
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 extern char **my_netbios_names;
index f7e86a8a43570126faf5e52e5da883c806a9737e..fe25d5ba5ea4cda30ecd2ea846f329aa4b997afc 100644 (file)
 
 #include "winbindd_nss.h"
 
-/* Naughty global stuff */
-
-extern int DEBUGLEVEL;
-
 /* Client state structure */
 
 struct winbindd_cli_state {
index c4485ca03af5c2c530a6f27aad4495606131dfb8..a3d5bb08de7e03fb4444420cdf845d1f3ab8a82d 100644 (file)
@@ -25,8 +25,6 @@
 #include "includes.h"
 #include <nss.h>
 
-extern int DEBUGLEVEL;
-
 #ifndef INADDRSZ
 #define INADDRSZ 4
 #endif
index d12081fb32e09cb8a08cb12b94a8b8af0192984e..7aceb1b9dad3b68f16802b0451bfc6b29ffbeca4 100644 (file)
@@ -98,8 +98,6 @@
  *  bSize       - The size of the global buffer <bufr>.
  */
 
-extern int DEBUGLEVEL;
-
 static char *bufr  = NULL;
 static int   bSize = 0;
 
index 8a2befcaa8644faf49398ecd64729c10d245eb22..753663a09c005380edb038e67bba43f74216bdda 100644 (file)
@@ -30,8 +30,6 @@
 #define ADD_USER 1
 #define MODIFY_USER 2
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  open a connection to the ldap serve.
 ******************************************************************/    
index 116ecaf95b1f65a73be6976717e370cb3fea2d75..6d0dabcd9d036008d6fa416ab98f282786e5153a 100644 (file)
@@ -30,8 +30,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #ifdef WITH_PAM
 
 /*******************************************************************
index 594983e53bf5886ee1ca16afbdfa49f0d6255137..a57cb2ff06beede78e6bd519940e2384a27223b4 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* these are kept here to keep the string_combinations function simple */
 static fstring this_user;
 #if !(defined(WITH_PAM) || defined(KRB4_AUTH) || defined(KRB5_AUTH))
@@ -896,6 +894,3 @@ NTSTATUS pass_check(struct passwd *pass, char *user, char *password,
 
        return NT_STATUS_WRONG_PASSWORD;
 }
-
-
-
index 2ffbe42f8caf5e41544195c088c34316596e0db6..b1e1e2b989e329b22c552325e58a818c3da99c2c 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*
  * This is set on startup - it defines the SID for this
  * machine, and therefore the SAM database for which it is
index 399a45d8a9ab9bcf5aa52b04b531c08b1177be10..55a71e94a27d4d0a50d74606d29beaf96b34bcb1 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*
  * NOTE. All these functions are abstracted into a structure
  * that points to the correct function for the selected database. JRA.
@@ -217,4 +215,3 @@ struct smb_passwd *getsmbgrpuid(uid_t smb_userid,
 {
        return pwgrp_ops->getsmbgrpuid(smb_userid, grps, num_grps, alss, num_alss);
 }
-
index f4ed014efe06c722053e6eec1618afb753fad914..a737b5896b61ddfd45e3ffc514620feaa32e719c 100644 (file)
@@ -51,8 +51,6 @@
 #define SAM_ACCOUNT struct sam_passwd
 #endif
 
-extern int DEBUGLEVEL;
-
 struct ldap_enum_info
 {
        LDAP *ldap_struct;
index f487dcf347d4c634538f577b504f82197a6083e9..b01f03e12482ba3244a40d7027d379b2d323cc16 100644 (file)
@@ -44,12 +44,10 @@ struct smb_passwd
 };
 
 
-extern int DEBUGLEVEL;
 extern pstring samlogon_user;
 extern BOOL sam_logon_in_ssb;
 extern struct passdb_ops pdb_ops;
 
-
 /* used for maintain locks on the smbpasswd file */
 static int     pw_file_lock_depth;
 static void    *global_vp;
index 4636c08c9492c0a4282e2ebab287823c624da005..b332c9da7f5cd55e6c719ef5ff9618eba5cf18cf 100644 (file)
@@ -22,7 +22,6 @@
 #ifdef USE_SMBPASS_DB
 
 static int grp_file_lock_depth = 0;
-extern int DEBUGLEVEL;
 
 /***************************************************************
  Start to enumerate the smbpasswd list. Returns a void pointer
index 90d84995958a77c74119f61e8a219b195ef6c7c1..12f12fd33c604fb6fa2ec5db0ece9012f2d11dca 100644 (file)
@@ -20,8 +20,6 @@
 */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
-
 
 static char *Months[13] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
                              "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Err"};
index 58fc7e25ae21b230be7bcb478f2c72f0ca8345ba..c61893e0feb2c83a3e6a90a78f53bdf821e4f901 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 extern DOM_SID global_sid_World;
 
index 0ac7600dc567ac90a9000eaa7dd160188b9d207b..b10dbba9c5727805183093fe752596e516b060eb 100644 (file)
@@ -65,8 +65,6 @@
 
 #include "smb.h"
 
-extern int DEBUGLEVEL;
-
 #ifdef AIX
 /*  ******************************************
      Extend for AIX system and qconfig file
index 5c5d1e60d2c7b12215258c10e28479570de686d0..a83f5de43c23972e18ef151629753056a02d6f4d 100644 (file)
@@ -51,9 +51,6 @@ struct printif        cups_printif =
                  cups_job_submit,
                };
 
-extern int DEBUGLEVEL;
-
-
 /*
  * 'cups_passwd_cb()' - The CUPS password callback...
  */
index bc9751a6539404e122675fd6e42aab51cc70ee06..87031df849f9ffade90e762e22bcf7f12278b264 100644 (file)
@@ -47,8 +47,6 @@ struct printif        generic_printif =
                  generic_job_submit,
                };
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 run a given print command 
 a null terminated list of value/substitute pairs is provided
index 1878f85ac16f2ddd689e1a0643f5611768db89ab..44127c3700af77ff62ae43223e3c25ae1b1a6222 100644 (file)
@@ -37,8 +37,6 @@
 
 #ifdef SYSV
 
-extern int DEBUGLEVEL;
-
 typedef struct printer {
        char *name;
        struct printer *next;
index 2ec8de683585d3d57dd5579f4af34fde085a7a3a..35700bc8686f99b623495f5075e9f1f1207db08b 100644 (file)
@@ -21,8 +21,6 @@
 */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
-
 
 /***************************************************************************
 open a print file and setup a fsp for it. This is a wrapper around
index 301422c1c2a7c00d90fa4c495bed5d7b392bc6c4..9135cb2d5efbb774adfe4ba2a4f81f987b282a22 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "printing.h"
 
-extern int DEBUGLEVEL;
-
 /* Current printer interface */
 struct printif *current_printif = &generic_printif;
 
index 5ddc72c490c788e06e5f56fe01f9508e58348437..555fe7de5a4c8ece46e154cac81221e80e2f2316 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
 
 static int shm_id;
@@ -157,4 +155,3 @@ BOOL profile_setup(BOOL rdonly)
        message_register(MSG_REQ_PROFILELEVEL, reqprofile_message);
        return True;
 }
-
index f50672941162e19aca93a3a9465640045801e432..239bd9c6d59bc3ea3cbb84babf12b1b0b71e24a3 100644 (file)
@@ -32,7 +32,6 @@ static uint32 num_cons = 0;
 struct user_creds *usr_creds = NULL;
 vuser_key *user_key = NULL;
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 /*
  * needed for the struct cli_connection
@@ -379,4 +378,3 @@ BOOL rpc_con_ok(struct cli_connection *con)
 
         return True;
 }
-
index 790fddd7c3fb54af530c981aad70a2b8a716a319..0f54d5512cc376da065885c493bbf3fe2fd16407 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern fstring global_myworkgroup;
 extern pstring global_myname;
 
index 2f4343c9575194af74a042b1f1b340bc92c4b6ca..ead820aafd30c4390c9fae4e8efae46a98ab909e 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 do a LSA Open Policy
 ****************************************************************************/
index 324f5dc90f49e765fb6eb684c56b558fd9afbf42..f67a7175bf13e8dc701cb9f722c5130fca8181d7 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 extern fstring global_myworkgroup;
 
index 4415b461d950457e50647a724f79cbee20bb639f..9251f879d2dc855b443d8ba444c609a0179fe77c 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern struct pipe_id_info pipe_names[];
 extern fstring global_myworkgroup;
 extern pstring global_myname;
index 2e71d5a18f6cbd26e39bc86b3b2f22277b14e109..229b82db52a3cab518ac21603573614155db7776 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
@@ -30,8 +29,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 do a REG Open Policy
 ****************************************************************************/
index a0e9ab6a0037d6d126944893223f924355d712e4..fc15556924e3d94bb554a0d6e80f7e06623050c3 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
 #ifdef SYSLOG
 #undef SYSLOG
 #endif
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 do a SAMR query user groups
 ****************************************************************************/
index 9c93ec02d50747041305ceeccf705d9cefa46f04..39655519f99966e8d0d583a9ba7da79c88e6cf0e 100644 (file)
@@ -26,8 +26,6 @@
 #include "rpc_parse.h"
 #include "nterr.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 do a SPOOLSS Enum Printer Drivers
 ****************************************************************************/
@@ -818,5 +816,3 @@ uint32 spoolss_addprinterdriver(const char *srv_name, uint32 level, PRINTER_DRIV
        return r_o.status;
 
 }
-
-
index ca9f153ec76545a9343827203322a823d34e7a86..2f89e200d216e5c744fd417c87fd9aab2f2c0aa0 100644 (file)
@@ -24,7 +24,6 @@
 #include "rpc_parse.h"
 #include "nterr.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 /*********************************************************
@@ -292,4 +291,3 @@ BOOL cli_spoolss_reply_close_printer(struct cli_state *cli, POLICY_HND *handle,
 
        return True;
 }
-
index d4522714f2ef6349ba00b0579b6a9e3a56de4ce8..cb3a784d073df0f56a267e9d73d0e80f63c432e9 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #ifdef SYSLOG
 #undef SYSLOG
 #endif
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 do a server net conn enum
 ****************************************************************************/
index fdd0ee9a5bbf4bfb166b029be800fc8b2ab4aaa8..acdfe46fda5a9941949467d88e6c2625a6200387 100644 (file)
@@ -25,7 +25,6 @@
 #include "includes.h"
 #include "trans2.h"
 
-extern int DEBUGLEVEL;
 extern pstring scope;
 extern pstring global_myname;
 
index 5d4ad807071b5f8606cd539e886409b52e82442c..6b2a72515cd7c67eca4c80ae9afa5fe9fab8e593 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #ifdef SYSLOG
 #undef SYSLOG
 #endif
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 do a WKS Open Policy
 ****************************************************************************/
index 288c7f63cbae61b40f702a13fbd7610806549da7..3baec6c569bce615f004f9898ae8541e5f1e45b5 100644 (file)
@@ -26,8 +26,6 @@
 #include "rpc_parse.h"
 #include "rpcclient.h"
 
-extern int DEBUGLEVEL;
-
 #define DEBUG_TESTING
 
 extern FILE* out_hnd;
@@ -810,4 +808,3 @@ BOOL msrpc_spoolss_getprinterdriverdir(char* srv_name, char* env_name, uint32 le
 
         return True;
 }
-
index 99557d4a06a49ee654399cabf194f3691f106564..d903b40c14401df098a6a66b436b611004b27e0b 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
 #define NO_SYSLOG
 
 #include "includes.h"
 #include "rpc_parse.h"
 #include "trans2.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 struct ncacn_np_use
@@ -454,6 +452,3 @@ struct ncacn_np *ncacn_np_use_add(const char *pipe_name,
         cli->num_users++;
         return cli->cli;
 }
-
-
-
index 9e1bcf2261e349abc8fe3a5b635ea20498f5a7e3..d17eeeb9526ceec0891f92aa796f95d92af3e8bf 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 
 /************************************************************************
  check workstation trust account status
@@ -162,5 +160,3 @@ BOOL trust_account_check(struct in_addr dest_ip, char *dest_host,
        cli_shutdown(&cli_trust);
        return right_error_code;
 }
-
-
index 1ad9143009fc5d89821aca5c3b58e0d399a71a3a..36e08f5746ecf357b71b92d32c77ba699b97499a 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambgrpsge, MA 02139, USA.
  */
 
-
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 /*******************************************************************
 makes a CREDS_UNIX structure.
 ********************************************************************/
index 2fe72da5a1f50d813bc737d8b4c386e52f079c32..a152e3528e38b683d5bf4db5b6d07ecf8acd18a1 100644 (file)
@@ -26,8 +26,6 @@
 #include "nterr.h"
 #include "rpc_parse.h"   
 
-extern int DEBUGLEVEL;
-
 /******************************************************************* 
 Make a DFS_Q_DFS_QUERY structure
 *******************************************************************/
index 29da2c6913f56f1c392ea2fda0968e742802eff4..f69f3ebdef9983f3509efac4c8298ed5b7835523 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static BOOL lsa_io_trans_names(char *desc, LSA_TRANS_NAME_ENUM *trn, prs_struct *ps, int depth);
 
 /*******************************************************************
@@ -1822,8 +1820,3 @@ BOOL lsa_io_r_getsystemaccount(char *desc, LSA_R_GETSYSTEMACCOUNT  *r_c, prs_str
 
        return True;
 }
-
-
-
-
-
index 3015e383fda3ef029ec50e3fbb9e0b59353bdedf..6353c9a8cd9353b1bbb1e4ffe4f4fd5aec61cf19 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
  A temporary TALLOC context for things like unistrs, that is valid for
  the life of a complete RPC call.
index eb1ddd36f786d69865b15aa055aa460b0e8f97bc..cfd90241d0dbe45dc781e32856a59fdf919b1316 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  Reads or writes a structure.
 ********************************************************************/
index 84c9a3abf4d281b04ecd16545b50bad188ce6374..7b38e82f5a65b3755a86cc38d59048d7e9547dd8 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-extern int DEBUGLEVEL;
-
 #include "includes.h"
 
-
 /*******************************************************************
 dump a prs to a file
  ********************************************************************/
index e7c1b8ecfec7539702daa4d72c8b957e2cda1c8c..67d8d89b0155f7b384229c58cf08d1a3b40d48c8 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 /*******************************************************************
  Inits a structure.
 ********************************************************************/
@@ -1682,4 +1678,3 @@ BOOL reg_io_r_abort_shutdown(char *desc, REG_R_ABORT_SHUTDOWN * r_s,
 
        return True;
 }
-
index e457b48bf92b3bc8a3c205829db39af789c46520..f4a84adee3978030586239cfb201e30672821d4f 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 /*******************************************************************
 interface/version dce/rpc pipe identification
 ********************************************************************/
index 82902e5149cf8904057889743f9c841f2ad3a010..c92dbda7eceec70cd29fb58abf2c4af790122b87 100644 (file)
@@ -27,8 +27,6 @@
 #include "rpc_parse.h"
 #include "nterr.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
 inits a SAMR_Q_CLOSE_HND structure.
 ********************************************************************/
index 3d79c12cdb058d5081aa685512d23cb41ba1c0cc..98f076c1e34a57358d01758d08913e19816e17de 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #define SD_HEADER_SIZE 0x14
 
 /*******************************************************************
index 6e0bcdb905f7f1e2942a6e080925f5d69a37aa26..76e06a343ae50f97e0bf0a29bcedd52176227a08 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
 return the length of a UNISTR string.
 ********************************************************************/  
index 057367054aa48d26a2281a336f821c0414cb7407..fa52b244956fb7c5b015de488a922e4929b496a3 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  Inits a SH_INFO_1_STR structure
 ********************************************************************/
index 07194e1c319450638ced8926bbdc9b817c7ec59b..ecd4a201ae4d74e5d590a00ddb58206c765e144b 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  Init
  ********************************************************************/
index e2a78782f346600f0e41fd165ceb02c1fb637ec4..00a0f58df5523f67b3fe82c2f6ecf1426ac18e67 100644 (file)
@@ -29,7 +29,6 @@
 
 #define MAX_MSDFS_JUNCTIONS 256
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 /**********************************************************************
@@ -176,4 +175,3 @@ BOOL api_netdfs_rpc(pipes_struct *p)
 {
        return api_rpcTNP(p, "api_netdfs_rpc", api_netdfs_cmds);
 }
-
index dba8ddd0d8fb46a31bd6c34e0ff09c4f73316645..e62334c3774b863965a03f313dc316d2b2a1e984 100644 (file)
@@ -27,7 +27,6 @@
 #include "includes.h"
 #include "nterr.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 #define MAX_MSDFS_JUNCTIONS 256
index 9c934f5023c6fea908e2223c147aac1c82c09e3a..4331ffca8debfc97d8699c796680d9d945f4c352 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /***************************************************************************
  api_lsa_open_policy2
  ***************************************************************************/
index ad726f4cfa011129807dcf776e07951c81fd8866..d5f9a52e2fea7b6535f5fc79bd6c489336ce3deb 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* This is the max handles across all instances of a pipe name. */
 #ifndef MAX_OPEN_POLS
 #define MAX_OPEN_POLS 1024
index 98038c2ac75d5d47738b9f8f222a216f18a350ae..eeaf9c63475f4aec7bbb2d959697f12fba5d7077 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern DOM_SID global_sam_sid;
 extern fstring global_myworkgroup;
 extern pstring global_myname;
index 93d7fea5547626dc390a54a969617490e9c7a5be..06e2f75ead45753855b5f45913e5c551423c0b59 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*************************************************************************
  api_net_req_chal:
  *************************************************************************/
index fffa5b1ba162180cf817f1d55889384ed99c3176..678c48ff71019f46acd503a19d003c049d1f8757 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern BOOL sam_logon_in_ssb;
 extern pstring samlogon_user;
 extern pstring global_myname;
index 00acb93cf38c2668381e7ab54ed1b7fa684da1ff..2957d7cc95dd9f82f3d9fdf4d4d3f55a211afc82 100644 (file)
@@ -40,8 +40,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static void NTLMSSPcalc_p( pipes_struct *p, unsigned char *data, int len)
 {
     unsigned char *hash = p->ntlmssp_hash;
index 082d3a1263f2b18f9372a5a0dd55cf815058e2ba..10d0c3bcb84c21aaecd4263a21bdbb27f3930ea2 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 #include "includes.h"
 
-
 #define        PIPE            "\\PIPE\\"
 #define        PIPELEN         strlen(PIPE)
 
-extern int DEBUGLEVEL;
 static pipes_struct *chain_p;
 static int pipes_open;
 
index 8aa5c4bddfa819cbfd4f285f470320a0667944bb..1280dc4aa9d250c82bc71640b318f8fcf17bb725 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  api_reg_close
  ********************************************************************/
index b1c0e8bc65deaaa28be1b396bf83f8993dfefc00..d934083e6bd23ee246f9b8586994bde50acfd1a2 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 struct reg_info
 {
     /* for use by \PIPE\winreg */
index f00ecae3ce68c644e54c7d642021ae3bb84b0ecd..fb7bd4fb256b87cc5b6d006a144ff2866055097b 100644 (file)
@@ -32,8 +32,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  api_samr_close_hnd
  ********************************************************************/
index 9748d0e95019df8513b847015ba867a33dbd7d69..d9cae42145aeb988185f035fd69d369a0299753e 100644 (file)
@@ -29,8 +29,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern fstring global_myworkgroup;
 extern pstring global_myname;
 extern DOM_SID global_sam_sid;
index 6c65cb078b8e65c8cc4ac8f09f3e955eba1f1b3e..a5ae418cd481dca7bef7ce832335c198dc39ea35 100755 (executable)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /********************************************************************
  * api_spoolss_open_printer_ex
  ********************************************************************/
index 118a2d64c94f09b7ce46f52477dbef41e5bf8fc8..b7ccce92d508af510b3fccd33be2c345a1489be6 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 #ifndef MAX_OPEN_PRINTER_EXS
index fe008d0dde8128482f0bf71df8797f2a26a9abf0..35bacc3458da9c79e1fa00f63227aaf260348aca 100644 (file)
@@ -26,8 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  api_srv_net_srv_get_info
 ********************************************************************/
index 2877b7af051f4c5e25867bc9e11d5779f161b03e..7e82599f28a25fd9d5d15e2ec09d00ca439c9295 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 /*******************************************************************
index dc66887ee9f4048e6757a7766795d78731e55e06..d441758db2eab1d41f1834d4a146e242c1c3c870 100644 (file)
@@ -39,8 +39,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*
  * A list of the rids of well known BUILTIN and Domain users
  * and groups.
index 12e4a8f335910b900aff87761bde60af1cf0aab5..3661824da177ae66078295696ce275edc9265333 100644 (file)
@@ -25,8 +25,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*******************************************************************
  api_wks_query_info
  ********************************************************************/
index 4bbc0e237ff8f3dd20fcb6ce2608631b861b4842..f618531b5f9cd45a5f5ba768528f8de4d83eee6e 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring global_myname;
 
 /*******************************************************************
index a00b429d5ba3d829fa1c308ae36c4dfa2836a9dd..a3de9f626d88b120f35c0055749909132925e105 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring server;
 
 /* Check DFS is supported by the remote server */
index b928126ae3d9cd96cddfbacfe616b66f3e4b0485..273662b6f90e559045a5ef863b5e32dc591048ba 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern pstring server;
 
 /* Look up domain related information on a remote host */
index 3adae373ffaa5c969ca89f50834a550f8b6816d6..3d73fc1fde98c6c36244cdba4fb422b035ba197f 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static NTSTATUS cmd_netlogon_logon_ctrl2(struct cli_state *cli, int argc,
                                       char **argv)
 {
index baa3c071c7e8b2d4eb2ed0d2799a113220a67b35..28cd83ef58c1e56e4251ed2f8f0a451d30ea15ee 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
 #ifdef SYSLOG
 #undef SYSLOG
 #endif
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern int smb_tidx;
 
 extern FILE* out_hnd;
@@ -1071,4 +1067,3 @@ struct cmd_set reg_commands[] = {
 */
        { NULL }
 };
-
index 0330dd802499358d827adac120ae8a7e368944ae..31683c63866b2eb423b5fc5d695bb8528dd90da9 100644 (file)
@@ -25,8 +25,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring server;
 extern pstring global_myname;
 extern pstring username, password;
index e5addc1accaabe5753f195419f13e991fbe7a3a6..9e5b2054ee81b90a0ccbb022adec9be2c08328c0 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* Display server query info */
 
 static char *get_server_type_str(uint32 type)
index 69a3920c27247a21f9593bac39364622c6077898..6801f17c00a853330323e3965af077b482f15a61 100644 (file)
@@ -28,8 +28,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #define DEBUG_TESTING
 
 extern struct cli_state *smb_cli;
@@ -91,4 +89,3 @@ void cmd_wks_query_info(struct client_info *info)
                DEBUG(5,("cmd_wks_query_info: query failed\n"));
        }
 }
-
index 310acd3c32a92e7e80266ca35fc5a3d311f9be4d..1dc0255296b1eaf17455914d3d323091265ac640 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern fstring debugf;
 
 DOM_SID domain_sid;
index 50177ce552eb3f52a12ae3acf8255f3f9a118144..c659784f57e784021efea1193435e12e7cdb34a5 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* Synchronise sam database */
 
 static NTSTATUS sam_sync(struct cli_state *cli, unsigned char trust_passwd[16],
index 6aa2714b0ba859517ef0a2f3b560a57f61631d2f..e76324213ef3a33fc0aa7e754019bb5573b1d9e0 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
  Check user is in correct domain if required
 ****************************************************************************/
@@ -257,4 +255,3 @@ BOOL password_ok(char *user, char *password, int pwlen)
 
        return False;
 }
-
index 111f0f143c1848df3a06cb1c0de7e0db4ce38c30..bcd41bacdba35d7064f83f82fbb301970b1db005 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 BOOL global_machine_password_needs_changing = False;
 
 /****************************************************************************
index e319d8d5f81906fa0aabb8ca5c0b01d37a94b16a..cd1bf57f8659097a1920b54899a78e6b860e4ba8 100644 (file)
@@ -21,9 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 /****************************************************************************
  Read the a hosts.equiv or .rhosts file and check if it
  allows this user from this machine.
@@ -181,6 +178,3 @@ NTSTATUS check_rhosts_security(const auth_usersupplied_info *user_info,
 
        return nt_status;
 }
-
-
-
index e4c91c4dcbe0e141351354d858d5907b9df1a84f..2574a52ef3dd2c64109370c246d6c4a62f2a1932 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern pstring global_myname;
 
 /****************************************************************************
@@ -228,5 +226,3 @@ use this machine as the password server.\n"));
 
        return(nt_status);
 }
-
-
index 835ade739fd58a4593a59c663dd1f4031c1ebf71..da223368b8f40a60024bc3b8f1a867e145832499 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 core of smb password checking routine.
 ****************************************************************************/
@@ -319,6 +317,3 @@ NTSTATUS check_smbpasswd_security(const auth_usersupplied_info *user_info, auth_
        pdb_free_sam(&sampass);
        return nt_status;
 }
-
-
-
index 0d73988d8af9f5790b1d38a098c8ff956bcf8c1c..2f9034e3e54872498338c6711877fb8584107f17 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 update the encrypted smbpasswd file from the plaintext username and password
 
@@ -105,5 +103,3 @@ NTSTATUS check_unix_security(const auth_usersupplied_info *user_info, auth_serve
 
        return nt_status;
 }
-
-
index 1967c32b9a16d694f15404a3377ce11e8fc77be9..d3b9aa7001e75cebd1795ef1ffc266850395d548 100644 (file)
@@ -19,9 +19,8 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
-#include "includes.h"
 
-extern int DEBUGLEVEL;
+#include "includes.h"
 
 /* Data to do lanman1/2 password challenge. */
 static unsigned char saved_challenge[8];
index cec1581254333a2d94cddbd97479c907148b1ca2..a398a4c2a1beedec88a2e74001b0f89ce1af2aec 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 #include "includes.h"
-extern int DEBUGLEVEL;
+
 extern char *OutBuffer;
 
 /****************************************************************************
index de490839607bbf44c43d2cf1cfe888bc164327e3..fbcefd6128a1e1cc1779a321a3e56baf46841c66 100644 (file)
@@ -49,7 +49,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern struct passdb_ops pdb_ops;
 
 static BOOL check_oem_password(char *user,
index c92e084759df19fea582b8cbf2cfe3d7dea2fa00..5c8c7996f5edff6d92c93cd1289741bb838b4b07 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 run a file if it is a magic script
 ****************************************************************************/
index 08704927c561f1d5125d419f63700bec63f221bb..f9d0ffc9bd11bb19767d6804a390c82129764069 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* set these to define the limits of the server. NOTE These are on a
    per-client basis. Thus any one machine can't connect to more than
    MAX_CONNECTIONS services, but any number of machines may connect at
index e1b2bc071ae7e8aa939dfe3ab5df4505302cbc1e..f6da678cb18d93794575c159afec094b26cc75e2 100644 (file)
 
 #include "includes.h"
 
-
 extern fstring remote_machine;
 static TDB_CONTEXT *tdb;
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
  Return the connection tdb context (used for message send all).
 ****************************************************************************/
index 7848309a5ea190813b8ce0ff7b2f2bb49ca588b6..51f0614941966916459e3d8eeae5afb533efe871 100644 (file)
@@ -21,9 +21,6 @@
 
 #include "includes.h"
 
-
-extern int DEBUGLEVEL;
-
 /****************************************************************************
 normalise for DOS usage 
 ****************************************************************************/
index c0c728fe8fb1520efcdfbb2e732628a0c24d30f5..59c8f1e97b499f8ec779c3592e486e4fb5584389 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /*
    This module implements directory related functions for Samba.
 */
index 639e365d1bcd8516c7b7e40e0d545b5810310567..0f15ef25c24b09afb78a3f285894d94b53f45191 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /****************************************************************************
   change a dos mode to a unix mode
     base permission for files:
index 17606c62bed2e412107537f54e8d243b27e84108..913f2ac266a29e7f60162a686321437b51fe5be3 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* these can be set by some functions to override the error codes */
 int unix_ERR_class=SMB_SUCCESS;
 int unix_ERR_code=0;
index 003bee84ed39e30a128cf28859416b16723cdae2..edf58d4a8ee8481090891977a77c6e4e92a01aa9 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static BOOL setup_write_cache(files_struct *, SMB_OFF_T);
 
 /****************************************************************************
index 17fa35c0d7d3421136694d41e30960f63f08f2d4..5fdbef44fe8a7a4bb6cd17b8b8b088c37957b1aa 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern BOOL case_sensitive;
 extern BOOL case_preserve;
 extern BOOL short_case_preserve;
index 4273c205cdee35ac0b683dffb8b946aade6063e5..8c7fa930e1a8a64f40384e44b71daefd41c9a755 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static int real_max_open_files;
 
 #define VALID_FNUM(fnum)   (((fnum) >= 0) && ((fnum) < real_max_open_files))
index eb2931d2a5491edaa5296532db598f149e36ce3f..7d3dce131a40d15c49ba9dd9edd0f69172005764 100644 (file)
 #ifdef USING_GROUPNAME_MAP
 
 #include "includes.h"
-extern int DEBUGLEVEL;
 extern DOM_SID global_sam_sid;
 
-
 /**************************************************************************
  Groupname map functionality. The code loads a groupname map file and
  (currently) loads it into a linked list. This is slow and memory
index b1af01ff4c575a52ad8ee62d24fa06305c3a9f88..93a69255c03ac451d610118978812f61184d1393 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern int max_send;
 
 extern fstring local_machine;
index b7acfa5f32ad9d21f784af7e41406d21dee75094..088162c126143ea5f6a855f0f92c96aa2fa06bc8 100644 (file)
@@ -33,8 +33,6 @@
 #endif
 #define CHECK_TYPES 0
 
-extern int DEBUGLEVEL;
-
 extern fstring local_machine;
 extern pstring global_myname;
 extern fstring global_myworkgroup;
index ae0164e1418a4763e9557cbb7606f05627c319a5..1c46afaea2e5d4289663cd97457a3ba529824e91 100644 (file)
@@ -52,7 +52,6 @@
  * External Variables...
  */
 
-extern int DEBUGLEVEL;      /* Global debug level.                            */
 extern int case_default;    /* Are conforming 8.3 names all upper or lower?   */
 extern BOOL case_mangle;    /* If true, all chars in 8.3 should be same case. */
 
@@ -1540,4 +1539,3 @@ void mangle_test_code(void)
 }
 
 #endif /* TEST_MANGLE_CODE */
-
index f2e88352ee1ed266a5362d8ab94a088681cfc9ee..7cc53e082c49ce723149903396f861f3ddf01aa3 100644 (file)
@@ -27,9 +27,6 @@
 #include "includes.h"
 
 /* look in server.c for some explanation of these variables */
-extern int DEBUGLEVEL;
-
-
 static char msgbuf[1600];
 static int msgpos;
 static fstring msgfrom;
index 82222e6725635fd4396e5e3e13efe4d295866223..e3a6701dcec91d6d9e16f221834ddb490d22d654 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern int Protocol;
 extern int max_recv;
 extern fstring global_myworkgroup;
index 68b51aeabb8480bfc1a577105ff7d0573bbfee99..999821354e409835c8cd82c2ec6e939c26f45bda 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static struct cnotify_fns *cnotify;
 
 /****************************************************************************
index 8157e1ff31600b7cc48c718aae6977b53eee2ce6..0c69dc78769d30cf26e425723157a2707d8e4844 100644 (file)
@@ -22,9 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
-
 struct change_data {
        time_t last_check_time; /* time we last checked this entry */
        time_t modify_time; /* Info from the directory we're monitoring. */ 
index 4b84831550a70b14c26d563ffcb7d779bd32268a..f618700bf0f92abbd1705b327bf1aef419fed4c5 100644 (file)
@@ -23,7 +23,6 @@
 
 #if HAVE_KERNEL_CHANGE_NOTIFY
 
-extern int DEBUGLEVEL;
 static VOLATILE sig_atomic_t fd_pending;
 static VOLATILE sig_atomic_t signals_received;
 static VOLATILE sig_atomic_t signals_processed;
index c072a384747ca1c5e5706d761c1ee7b103c189db..2618a969130b66149016eaf86289d74a0e1b5bdb 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern int Protocol;
 extern int smb_read_error;
 extern int global_oplock_break;
index 6e6d5e1e83c476769e10d42198a60140d7f1c645..3578a82f8fbb28fb5bfdaaed07c87d5472d2870f 100644 (file)
@@ -22,8 +22,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern userdom_struct current_user_info;
 extern uint16 global_oplock_port;
 extern BOOL global_client_failed_oplock_break;
index c17e63384f28e28e4831d73d0bb26b61a9a91511..4e8e36b3aa64b93d81b146b8f67066a4862f0f0a 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* Oplock ipc UDP socket. */
 static int oplock_sock = -1;
 uint16 global_oplock_port = 0;
index faf7e8e3c87971591e05a544d4c38f7d14b3229e..c6055fc3293db531027c5b1cc58c7bab2c973b90 100644 (file)
@@ -22,7 +22,6 @@
 #include "includes.h"
 
 #if HAVE_KERNEL_OPLOCKS_IRIX
-extern int DEBUGLEVEL;
 
 static int oplock_pipe_write = -1;
 static int oplock_pipe_read = -1;
index c88441c8c6029a5ef308eceab9789f2bd20a5ee5..8c4259ac5359700831eaa98bb2efea84211baf04 100644 (file)
@@ -23,8 +23,6 @@
 
 #if HAVE_KERNEL_OPLOCKS_LINUX
 
-extern int DEBUGLEVEL;
-
 static VOLATILE sig_atomic_t signals_received;
 static VOLATILE sig_atomic_t signals_processed;
 static VOLATILE sig_atomic_t fd_pending; /* the fd of the current pending signal */
index 6f5c7508a4c14649944051cf18bdfa14ff9a9df4..b074552567dbbf4d5c37b6888132d2da5d67cf6b 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern struct in_addr ipzero;
 
 /* users from session setup */
index 162ad1603d84595add759e9c3332af5d9cd3a18c..9a911ed01457a242cff13466d7986c12e6ac6a84 100644 (file)
@@ -31,8 +31,6 @@
 #define        PIPE            "\\PIPE\\"
 #define        PIPELEN         strlen(PIPE)
 
-extern int DEBUGLEVEL;
-
 extern struct pipe_id_info pipe_names[];
 
 /****************************************************************************
index acda7128ae0f6b6b6ce922aa5cdeaa42cc579e82..4b0da0b4663f214ec90304f461e5b73759ffb731 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 struct timeval smb_last_time;
 
 static char *InBuffer = NULL;
index cf21fd704392e54a3c497f5c28908af4786d5ba1..76d1124aea9e67337847a45bc94a221cb263b249 100644 (file)
@@ -28,8 +28,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 #if defined(VXFS_QUOTA)
 
 /*
index dbd149afcf5fb20dbe114dd277948c38e4ff85c0..334a48e338568dbe0eaf5d2cee92fe7cad0c71c6 100644 (file)
@@ -29,7 +29,6 @@
 
 /* look in server.c for some explanation of these variables */
 extern int Protocol;
-extern int DEBUGLEVEL;
 extern int max_send;
 extern int max_recv;
 extern char magic_char;
index 830e759d0939bf1d455586251b87f1850c21b47c..c053a611c2cc4094e172fa599dc77a5c37d7d7a7 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern struct current_user current_user;
 
 struct sec_ctx {
index 1e89bbab7ea67e795b08507873da198f94b1f4d9..a851a8656dafd4910f1690719399723f98f3e0cc 100644 (file)
@@ -34,8 +34,6 @@ int last_message = -1;
 /* a useful macro to debug the last message processed */
 #define LAST_MESSAGE() smb_fn_name(last_message)
 
-extern int DEBUGLEVEL;
-
 extern pstring user_socket_options;
 
 #ifdef WITH_DFS
index 7119aa258ee2ec0699d222808efddb6a386926b6..69283d3bf50c6e13187742a3d1d95d8845dc0424 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern struct timeval smb_last_time;
 extern int case_default;
 extern BOOL case_preserve;
@@ -740,5 +738,3 @@ void close_cnum(connection_struct *conn, uint16 vuid)
        }
        conn_free(conn);
 }
-
-
index 139b97d088156267cfb263085c5424bef41c1f10..0941d9f69254f8a916db3925ebb5af47043862d6 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 extern int Protocol;
 extern BOOL case_sensitive;
 extern int smb_read_error;
index 9fe634a7e9c8eac792f4aa681f7651f7c0fab8d0..6afaf1493e3cd63e82f98fd149339febc710434e 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* what user is current? */
 extern struct current_user current_user;
 
index 60762a0155557578d142dbd5594a0c09924d1b32..05645f7b19dce3f1bdfc8bc281a45d6b1f44eac7 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 /* Some structures to help us initialise the vfs operations table */
 
 struct vfs_syminfo {
index 5a9f68829812d3042152aa0efaf9e690f85a52a8..a10ef05bfca1d04dd1b1551284aa9a67af8d5175 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 static int shared_fd;
 static char *variables;
 static int shared_size;
index 5702ea51ca6cf8b53a392e970bf435ce3e2c0393..ab15bd93dce5fe7c6f117273ae5ed65d894276d9 100644 (file)
@@ -29,7 +29,6 @@ static struct smbw_server *smbw_srvs;
 
 struct bitmap *smbw_file_bmap;
 extern pstring global_myname;
-extern int DEBUGLEVEL;
 
 fstring smbw_prefix = SMBW_PREFIX;
 
index 6cbc34391f225efe6832dde5835626de3216dba1..cd10b488a1a90aa2b54bd9b4fe805d7bbc5d441a 100644 (file)
@@ -28,7 +28,6 @@ extern fstring smbw_prefix;
 static struct smbw_dir *smbw_dirs;
 
 extern struct bitmap *smbw_file_bmap;
-extern int DEBUGLEVEL;
 
 extern int smbw_busy;
 
@@ -688,4 +687,3 @@ off_t smbw_telldir(DIR *dirp)
        struct smbw_dir *d = (struct smbw_dir *)dirp;
        return smbw_dir_lseek(d->fd,0,SEEK_CUR);
 }
-
index 74bf83d0dc80802f968eca457d001f6fde85da67..40fb191e02d06c34b0014c166759b9cd2b9a7f56 100644 (file)
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern int smbw_busy;
 
-
 /***************************************************** 
 setup basic info in a stat structure
 *******************************************************/
index 06abf5f3f6ec831b25e91471b4c41166332f399c..2ed15ca51de861107ddf4334b8d8321194429c9a 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
 static fstring password;
 static fstring username;
 static int got_pass;
index 154d277641c793db1e3c47c4ec88f6319d0f3761..24b2fd9dc373729d2c7c9ee264140b41a2ebd6fa 100644 (file)
@@ -35,8 +35,6 @@ extern pstring user_socket_options;
 
 
 extern pstring debugf;
-extern int DEBUGLEVEL;
-
 
 extern file_info def_finfo;
 
index ff675a72e501d664d58fef02f6d35c5c285933c6..ceec1859e787590f6867d9ed508a77a0d1944003 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 extern struct in_addr ipzero;
 
 static BOOL use_bcast = True;
index 64a152aaa1e1a5202a23c71548adb67f360bdf58..6e7458fb4e97e6efedd2ec929e097f6aac2a086c 100644 (file)
@@ -32,7 +32,6 @@
 #include "includes.h"
 
 extern pstring global_myname;
-extern int DEBUGLEVEL;
 
 /*
  * Next two lines needed for SunOS and don't
index 1b00d528ac7b1829a15f9fe7433cc1b34006d8c0..287b39bd1ed6dde0ad75ef7848be833d0bc78278 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "includes.h"
 
-extern int DEBUGLEVEL;
-
 main()
 {
        char filter[]="0123456789ABCDEF";
index 85501599550efa8c1c790bfe7efa407393d95881..5c21f22cfd97ceced10694c642a0f479146bd187 100644 (file)
@@ -36,8 +36,6 @@
 static char *netbiosname;
 static char packet[BUFFER_SIZE];
 
-extern int DEBUGLEVEL;
-
 static void filter_reply(char *buf)
 {
        int msg_type = CVAL(buf,0);
index 4e192ed43df03cb1ac127e0ccb6bc8a496606741..062271abc5bcc63f080ee51ffabf6e066ed60402 100644 (file)
@@ -23,7 +23,6 @@
 #include "includes.h"
 
 extern pstring global_myname;
-extern int DEBUGLEVEL;
 extern DOM_SID global_sam_sid;
 
 /*
@@ -342,5 +341,3 @@ int main (int argc, char **argv)
 
        return 0;
 }
-
-
index 168547c712198e0369ee23f78b7bc1241ed9fe90..13ca1c0d71525b0ebd95b91f6d3dac0ed747be88 100644 (file)
@@ -22,7 +22,6 @@
 #include "includes.h"
 
 extern pstring global_myname;
-extern int DEBUGLEVEL;
 
 /*
  * Next two lines needed for SunOS and don't
index 15c9c4aad45d8de2dc01a9cc669ef5c16eccab50..3beae0f815c26d92abed3567e4b43a917284b067 100644 (file)
@@ -44,8 +44,6 @@ struct session_record{
   struct session_record *next;
 } *srecs;
 
-extern int DEBUGLEVEL;
-
 static pstring Ucrit_username = "";                   /* added by OH */
 static pid_t   Ucrit_pid[100];  /* Ugly !!! */        /* added by OH */
 static int            Ucrit_MaxPid=0;                        /* added by OH */
@@ -680,4 +678,3 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo
 
        return (0);
 }
-
index f4d072ed77ff6d34f9cc7fcd3e6f9dcabc19ecde..09948b86359074d647f10553b9cc019378ec6769 100644 (file)
@@ -35,9 +35,6 @@
 #include "includes.h"
 #include "smb.h"
 
-/* these live in util.c */
-extern int DEBUGLEVEL;
-
 /***********************************************
  Here we do a set of 'hard coded' checks for bad
  configuration settings.
index df697a0ed1bf3245fa0fa8a2f4a437faa5ff3a0f..cf26e8aa40c5ce12436776de45a307be4a3f92e8 100644 (file)
@@ -34,9 +34,6 @@
 #include "includes.h"
 #include "smb.h"
 
-/* these live in util.c */
-extern int DEBUGLEVEL;
-
 int main(int argc, char *argv[])
 {
    char *pszTemp;
@@ -66,4 +63,3 @@ int main(int argc, char *argv[])
    }
    return (0);
 }
-