summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-02 04:29:50 +0000
committerTim Potter <tpot@samba.org>2001-10-02 04:29:50 +0000
commitdc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65 (patch)
tree83a3403e03874796587b5ea0fe75e72d89e6eae6 /source3/utils
parent260002f0e78148dc1aff093c9b42138dff88bf36 (diff)
downloadsamba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.tar.gz
samba-dc1fc3ee8ec2199bc73bb5d7ec711c6800f61d65.tar.bz2
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/utils')
-rw-r--r--source3/utils/nmblookup.c2
-rw-r--r--source3/utils/pdbedit.c1
-rw-r--r--source3/utils/rpccheck.c2
-rw-r--r--source3/utils/smbfilter.c2
-rw-r--r--source3/utils/smbgroupedit.c3
-rw-r--r--source3/utils/smbpasswd.c1
-rw-r--r--source3/utils/status.c3
-rw-r--r--source3/utils/testparm.c3
-rw-r--r--source3/utils/testprns.c4
9 files changed, 0 insertions, 21 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index ff675a72e5..ceec1859e7 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -24,8 +24,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
extern struct in_addr ipzero;
static BOOL use_bcast = True;
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 64a152aaa1..6e7458fb4e 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -32,7 +32,6 @@
#include "includes.h"
extern pstring global_myname;
-extern int DEBUGLEVEL;
/*
* Next two lines needed for SunOS and don't
diff --git a/source3/utils/rpccheck.c b/source3/utils/rpccheck.c
index 1b00d528ac..287b39bd1e 100644
--- a/source3/utils/rpccheck.c
+++ b/source3/utils/rpccheck.c
@@ -21,8 +21,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
main()
{
char filter[]="0123456789ABCDEF";
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c
index 8550159955..5c21f22cfd 100644
--- a/source3/utils/smbfilter.c
+++ b/source3/utils/smbfilter.c
@@ -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);
diff --git a/source3/utils/smbgroupedit.c b/source3/utils/smbgroupedit.c
index 4e192ed43d..062271abc5 100644
--- a/source3/utils/smbgroupedit.c
+++ b/source3/utils/smbgroupedit.c
@@ -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;
}
-
-
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 168547c712..13ca1c0d71 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -22,7 +22,6 @@
#include "includes.h"
extern pstring global_myname;
-extern int DEBUGLEVEL;
/*
* Next two lines needed for SunOS and don't
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 15c9c4aad4..3beae0f815 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -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);
}
-
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index f4d072ed77..09948b8635 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -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.
diff --git a/source3/utils/testprns.c b/source3/utils/testprns.c
index df697a0ed1..cf26e8aa40 100644
--- a/source3/utils/testprns.c
+++ b/source3/utils/testprns.c
@@ -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);
}
-