summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c4
-rw-r--r--source3/libsmb/clierror.c3
-rw-r--r--source3/libsmb/clioplock.c3
-rw-r--r--source3/libsmb/credentials.c4
-rw-r--r--source3/libsmb/domain_client_validate.c1
-rw-r--r--source3/libsmb/namequery.c2
-rw-r--r--source3/libsmb/nmblib.c4
-rw-r--r--source3/libsmb/pwd_cache.c3
-rw-r--r--source3/libsmb/smbencrypt.c3
-rw-r--r--source3/libsmb/smberr.c3
-rw-r--r--source3/libsmb/unexpected.c2
11 files changed, 0 insertions, 32 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 79757947b4..62b46a7904 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -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;
}
-
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c
index 5bc3992944..bcecc92d77 100644
--- a/source3/libsmb/clierror.c
+++ b/source3/libsmb/clierror.c
@@ -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);
}
-
diff --git a/source3/libsmb/clioplock.c b/source3/libsmb/clioplock.c
index a52dcf3a3e..b38933181e 100644
--- a/source3/libsmb/clioplock.c
+++ b/source3/libsmb/clioplock.c
@@ -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;
}
-
diff --git a/source3/libsmb/credentials.c b/source3/libsmb/credentials.c
index d4c8792068..5f65c13edd 100644
--- a/source3/libsmb/credentials.c
+++ b/source3/libsmb/credentials.c
@@ -21,10 +21,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
-
-
/****************************************************************************
represent a credential as a string
****************************************************************************/
diff --git a/source3/libsmb/domain_client_validate.c b/source3/libsmb/domain_client_validate.c
index 5a8ae372ea..255b37883d 100644
--- a/source3/libsmb/domain_client_validate.c
+++ b/source3/libsmb/domain_client_validate.c
@@ -22,7 +22,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
extern struct in_addr ipzero;
extern pstring global_myname;
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index b82e98b0fc..0dbf4b4564 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -22,8 +22,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
/* nmbd.c sets this to True. */
BOOL global_in_nmbd = False;
diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c
index 4ecc887524..d7bd7b49a0 100644
--- a/source3/libsmb/nmblib.c
+++ b/source3/libsmb/nmblib.c
@@ -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 */
-
-
diff --git a/source3/libsmb/pwd_cache.c b/source3/libsmb/pwd_cache.c
index 37a07a0001..64e23e0feb 100644
--- a/source3/libsmb/pwd_cache.c
+++ b/source3/libsmb/pwd_cache.c
@@ -21,9 +21,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
-
/****************************************************************************
initialises a password structure
****************************************************************************/
diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c
index b1a5c9fbb8..4b127051b4 100644
--- a/source3/libsmb/smbencrypt.c
+++ b/source3/libsmb/smbencrypt.c
@@ -23,9 +23,6 @@
*/
#include "includes.h"
-
-extern int DEBUGLEVEL;
-
#include "byteorder.h"
/*
diff --git a/source3/libsmb/smberr.c b/source3/libsmb/smberr.c
index c881b54203..0b59b5b1a5 100644
--- a/source3/libsmb/smberr.c
+++ b/source3/libsmb/smberr.c
@@ -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);
}
-
diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index 7d221e173e..b77e7490a0 100644
--- a/source3/libsmb/unexpected.c
+++ b/source3/libsmb/unexpected.c
@@ -22,8 +22,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
static TDB_CONTEXT *tdbd = NULL;
/* the key type used in the unexpeceted packet database */