diff options
author | Tim Potter <tpot@samba.org> | 2001-10-02 04:29:50 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-02 04:29:50 +0000 |
commit | dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65 (patch) | |
tree | 83a3403e03874796587b5ea0fe75e72d89e6eae6 /source3/nmbd | |
parent | 260002f0e78148dc1aff093c9b42138dff88bf36 (diff) | |
download | samba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.tar.gz samba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.tar.xz samba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.zip |
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
Diffstat (limited to 'source3/nmbd')
27 files changed, 0 insertions, 50 deletions
diff --git a/source3/nmbd/asyncdns.c b/source3/nmbd/asyncdns.c index 1fe04a39e37..5ae2eb202da 100644 --- a/source3/nmbd/asyncdns.c +++ b/source3/nmbd/asyncdns.c @@ -20,8 +20,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /*************************************************************************** Add a DNS result to the name cache. ****************************************************************************/ diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 6fead637ebb..3c93f306b8d 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -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 */ - diff --git a/source3/nmbd/nmbd_become_dmb.c b/source3/nmbd/nmbd_become_dmb.c index 089aa8f16a0..8a9fbaedd59 100644 --- a/source3/nmbd/nmbd_become_dmb.c +++ b/source3/nmbd/nmbd_become_dmb.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern pstring global_myname; extern fstring global_myworkgroup; extern char **my_netbios_names; diff --git a/source3/nmbd/nmbd_become_lmb.c b/source3/nmbd/nmbd_become_lmb.c index 31c67ae7f3f..52955d9bfc0 100644 --- a/source3/nmbd/nmbd_become_lmb.c +++ b/source3/nmbd/nmbd_become_lmb.c @@ -24,7 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; extern pstring global_myname; extern uint16 samba_nb_type; /* Samba's NetBIOS name type. */ diff --git a/source3/nmbd/nmbd_browserdb.c b/source3/nmbd/nmbd_browserdb.c index 95231528403..cbf871a700d 100644 --- a/source3/nmbd/nmbd_browserdb.c +++ b/source3/nmbd/nmbd_browserdb.c @@ -30,8 +30,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /* -------------------------------------------------------------------------- ** * Variables... * diff --git a/source3/nmbd/nmbd_browsesync.c b/source3/nmbd/nmbd_browsesync.c index 23ca0a398f5..6a8edd0eaf0 100644 --- a/source3/nmbd/nmbd_browsesync.c +++ b/source3/nmbd/nmbd_browsesync.c @@ -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; diff --git a/source3/nmbd/nmbd_elections.c b/source3/nmbd/nmbd_elections.c index 0fc3ab9a896..6db595269f7 100644 --- a/source3/nmbd/nmbd_elections.c +++ b/source3/nmbd/nmbd_elections.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern pstring global_myname; extern fstring global_myworkgroup; diff --git a/source3/nmbd/nmbd_incomingdgrams.c b/source3/nmbd/nmbd_incomingdgrams.c index eaafd63f1ad..d10e6ec0b0d 100644 --- a/source3/nmbd/nmbd_incomingdgrams.c +++ b/source3/nmbd/nmbd_incomingdgrams.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern pstring global_myname; extern fstring global_myworkgroup; extern BOOL found_lm_clients; diff --git a/source3/nmbd/nmbd_incomingrequests.c b/source3/nmbd/nmbd_incomingrequests.c index b390755be5b..81e6bb9629f 100644 --- a/source3/nmbd/nmbd_incomingrequests.c +++ b/source3/nmbd/nmbd_incomingrequests.c @@ -28,7 +28,6 @@ #include "includes.h" -extern int DEBUGLEVEL; extern fstring global_myworkgroup; /**************************************************************************** diff --git a/source3/nmbd/nmbd_lmhosts.c b/source3/nmbd/nmbd_lmhosts.c index 04ab280784c..4d819b41e96 100644 --- a/source3/nmbd/nmbd_lmhosts.c +++ b/source3/nmbd/nmbd_lmhosts.c @@ -26,8 +26,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /**************************************************************************** Load a lmhosts file. ****************************************************************************/ diff --git a/source3/nmbd/nmbd_logonnames.c b/source3/nmbd/nmbd_logonnames.c index c63de56a34a..4f48b21b7fd 100644 --- a/source3/nmbd/nmbd_logonnames.c +++ b/source3/nmbd/nmbd_logonnames.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern pstring global_myname; extern fstring global_myworkgroup; extern char **my_netbios_names; diff --git a/source3/nmbd/nmbd_mynames.c b/source3/nmbd/nmbd_mynames.c index 432a4736a47..47655c804bb 100644 --- a/source3/nmbd/nmbd_mynames.c +++ b/source3/nmbd/nmbd_mynames.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern char **my_netbios_names; extern fstring global_myworkgroup; diff --git a/source3/nmbd/nmbd_namelistdb.c b/source3/nmbd/nmbd_namelistdb.c index fe2c0c0f212..aa9589e45a9 100644 --- a/source3/nmbd/nmbd_namelistdb.c +++ b/source3/nmbd/nmbd_namelistdb.c @@ -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 */ diff --git a/source3/nmbd/nmbd_namequery.c b/source3/nmbd/nmbd_namequery.c index b497526475e..1f0895ee37f 100644 --- a/source3/nmbd/nmbd_namequery.c +++ b/source3/nmbd/nmbd_namequery.c @@ -24,7 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; extern struct in_addr ipzero; /**************************************************************************** diff --git a/source3/nmbd/nmbd_nameregister.c b/source3/nmbd/nmbd_nameregister.c index 6b7bb6a73a9..24463e1f9b5 100644 --- a/source3/nmbd/nmbd_nameregister.c +++ b/source3/nmbd/nmbd_nameregister.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern fstring global_myworkgroup; /**************************************************************************** diff --git a/source3/nmbd/nmbd_namerelease.c b/source3/nmbd/nmbd_namerelease.c index 0f693c63d02..30a9d165612 100644 --- a/source3/nmbd/nmbd_namerelease.c +++ b/source3/nmbd/nmbd_namerelease.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /**************************************************************************** Deal with a response packet when releasing one of our names. ****************************************************************************/ diff --git a/source3/nmbd/nmbd_nodestatus.c b/source3/nmbd/nmbd_nodestatus.c index d28ea1cff4e..eeb532d4109 100644 --- a/source3/nmbd/nmbd_nodestatus.c +++ b/source3/nmbd/nmbd_nodestatus.c @@ -24,8 +24,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /**************************************************************************** Deal with a successful node status response. ****************************************************************************/ diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index ab4b2c5e890..ace4ddfa25c 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -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; diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index 811f963bad8..bcd1e1a1ff3 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -26,8 +26,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - extern pstring global_myname; extern fstring global_myworkgroup; diff --git a/source3/nmbd/nmbd_responserecordsdb.c b/source3/nmbd/nmbd_responserecordsdb.c index b4376d64050..b24c85a9d81 100644 --- a/source3/nmbd/nmbd_responserecordsdb.c +++ b/source3/nmbd/nmbd_responserecordsdb.c @@ -26,8 +26,6 @@ extern int ClientNMB; -extern int DEBUGLEVEL; - extern struct in_addr ipzero; int num_response_packets = 0; diff --git a/source3/nmbd/nmbd_sendannounce.c b/source3/nmbd/nmbd_sendannounce.c index 32a6d339ded..1f56dea8824 100644 --- a/source3/nmbd/nmbd_sendannounce.c +++ b/source3/nmbd/nmbd_sendannounce.c @@ -27,7 +27,6 @@ #include "includes.h" -extern int DEBUGLEVEL; extern pstring global_myname; extern fstring global_myworkgroup; extern char **my_netbios_names; diff --git a/source3/nmbd/nmbd_serverlistdb.c b/source3/nmbd/nmbd_serverlistdb.c index cbc48d23139..183ea343207 100644 --- a/source3/nmbd/nmbd_serverlistdb.c +++ b/source3/nmbd/nmbd_serverlistdb.c @@ -27,8 +27,6 @@ extern int ClientNMB; -extern int DEBUGLEVEL; - extern fstring global_myworkgroup; extern char **my_netbios_names; diff --git a/source3/nmbd/nmbd_subnetdb.c b/source3/nmbd/nmbd_subnetdb.c index 996952451dd..ebb6bfa9c6b 100644 --- a/source3/nmbd/nmbd_subnetdb.c +++ b/source3/nmbd/nmbd_subnetdb.c @@ -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; diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c index 7ba39f0cd40..f6d1165e576 100644 --- a/source3/nmbd/nmbd_synclists.c +++ b/source3/nmbd/nmbd_synclists.c @@ -31,8 +31,6 @@ #include "includes.h" #include "smb.h" -extern int DEBUGLEVEL; - struct sync_record { struct sync_record *next, *prev; fstring workgroup; diff --git a/source3/nmbd/nmbd_winsproxy.c b/source3/nmbd/nmbd_winsproxy.c index d3118e82e1b..84102289587 100644 --- a/source3/nmbd/nmbd_winsproxy.c +++ b/source3/nmbd/nmbd_winsproxy.c @@ -23,8 +23,6 @@ #include "includes.h" -extern int DEBUGLEVEL; - /**************************************************************************** Function called when the name lookup succeeded. ****************************************************************************/ diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index 621a23b9e21..ea025e66f3d 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -26,10 +26,8 @@ #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 *****************************************************************************/ diff --git a/source3/nmbd/nmbd_workgroupdb.c b/source3/nmbd/nmbd_workgroupdb.c index 6bb156b41fc..3b7a64b8e5b 100644 --- a/source3/nmbd/nmbd_workgroupdb.c +++ b/source3/nmbd/nmbd_workgroupdb.c @@ -27,8 +27,6 @@ extern int ClientNMB; -extern int DEBUGLEVEL; - extern pstring global_myname; extern fstring global_myworkgroup; extern char **my_netbios_names; |