summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_connect.c2
-rw-r--r--source3/rpc_client/cli_login.c1
-rw-r--r--source3/rpc_client/cli_lsarpc.c2
-rw-r--r--source3/rpc_client/cli_netlogon.c1
-rw-r--r--source3/rpc_client/cli_pipe.c1
-rw-r--r--source3/rpc_client/cli_reg.c3
-rw-r--r--source3/rpc_client/cli_samr.c4
-rw-r--r--source3/rpc_client/cli_spoolss.c4
-rw-r--r--source3/rpc_client/cli_spoolss_notify.c2
-rw-r--r--source3/rpc_client/cli_srvsvc.c4
-rw-r--r--source3/rpc_client/cli_use.c1
-rw-r--r--source3/rpc_client/cli_wkssvc.c4
-rw-r--r--source3/rpc_client/msrpc_spoolss.c3
-rw-r--r--source3/rpc_client/ncacn_np_use.c5
-rw-r--r--source3/rpc_client/ntclienttrust.c4
15 files changed, 0 insertions, 41 deletions
diff --git a/source3/rpc_client/cli_connect.c b/source3/rpc_client/cli_connect.c
index f506729411..239bd9c6d5 100644
--- a/source3/rpc_client/cli_connect.c
+++ b/source3/rpc_client/cli_connect.c
@@ -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;
}
-
diff --git a/source3/rpc_client/cli_login.c b/source3/rpc_client/cli_login.c
index 790fddd7c3..0f54d5512c 100644
--- a/source3/rpc_client/cli_login.c
+++ b/source3/rpc_client/cli_login.c
@@ -23,7 +23,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
extern fstring global_myworkgroup;
extern pstring global_myname;
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 2f4343c957..ead820aafd 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -24,8 +24,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
-
/****************************************************************************
do a LSA Open Policy
****************************************************************************/
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index 324f5dc90f..f67a7175bf 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -29,7 +29,6 @@
#include "includes.h"
-extern int DEBUGLEVEL;
extern pstring global_myname;
extern fstring global_myworkgroup;
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 4415b461d9..9251f879d2 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -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;
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index 2e71d5a18f..229b82db52 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/rpc_client/cli_reg.c
@@ -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
****************************************************************************/
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index a0e9ab6a00..fc15556924 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -21,16 +21,12 @@
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
****************************************************************************/
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 9c93ec02d5..39655519f9 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -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;
}
-
-
diff --git a/source3/rpc_client/cli_spoolss_notify.c b/source3/rpc_client/cli_spoolss_notify.c
index ca9f153ec7..2f89e200d2 100644
--- a/source3/rpc_client/cli_spoolss_notify.c
+++ b/source3/rpc_client/cli_spoolss_notify.c
@@ -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;
}
-
diff --git a/source3/rpc_client/cli_srvsvc.c b/source3/rpc_client/cli_srvsvc.c
index d4522714f2..cb3a784d07 100644
--- a/source3/rpc_client/cli_srvsvc.c
+++ b/source3/rpc_client/cli_srvsvc.c
@@ -1,4 +1,3 @@
-
/*
* Unix SMB/Netbios implementation.
* Version 1.9.
@@ -23,15 +22,12 @@
* 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
****************************************************************************/
diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c
index fdd0ee9a5b..acdfe46fda 100644
--- a/source3/rpc_client/cli_use.c
+++ b/source3/rpc_client/cli_use.c
@@ -25,7 +25,6 @@
#include "includes.h"
#include "trans2.h"
-extern int DEBUGLEVEL;
extern pstring scope;
extern pstring global_myname;
diff --git a/source3/rpc_client/cli_wkssvc.c b/source3/rpc_client/cli_wkssvc.c
index 5d4ad80707..6b2a72515c 100644
--- a/source3/rpc_client/cli_wkssvc.c
+++ b/source3/rpc_client/cli_wkssvc.c
@@ -1,4 +1,3 @@
-
/*
* Unix SMB/Netbios implementation.
* Version 1.9.
@@ -23,15 +22,12 @@
* 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
****************************************************************************/
diff --git a/source3/rpc_client/msrpc_spoolss.c b/source3/rpc_client/msrpc_spoolss.c
index 288c7f63cb..3baec6c569 100644
--- a/source3/rpc_client/msrpc_spoolss.c
+++ b/source3/rpc_client/msrpc_spoolss.c
@@ -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;
}
-
diff --git a/source3/rpc_client/ncacn_np_use.c b/source3/rpc_client/ncacn_np_use.c
index 99557d4a06..d903b40c14 100644
--- a/source3/rpc_client/ncacn_np_use.c
+++ b/source3/rpc_client/ncacn_np_use.c
@@ -20,14 +20,12 @@
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;
}
-
-
-
diff --git a/source3/rpc_client/ntclienttrust.c b/source3/rpc_client/ntclienttrust.c
index 9e1bcf2261..d17eeeb952 100644
--- a/source3/rpc_client/ntclienttrust.c
+++ b/source3/rpc_client/ntclienttrust.c
@@ -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;
}
-
-