summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-04-28 01:07:27 +0000
committerGerald Carter <jerry@samba.org>2001-04-28 01:07:27 +0000
commit3a44e2364b546adb9e9c166e0b8ae6a0b4894b70 (patch)
tree30f245eae24bcd20dee6104182c2f7d48941b263
parenta8e0600654844c162fb10b2bf0eb4a2081f95631 (diff)
downloadsamba-3a44e2364b546adb9e9c166e0b8ae6a0b4894b70.tar.gz
samba-3a44e2364b546adb9e9c166e0b8ae6a0b4894b70.tar.bz2
samba-3a44e2364b546adb9e9c166e0b8ae6a0b4894b70.zip
few cleanups to bring in line with 2.2
(This used to be commit 0feaac00a1847af41464d4ce35821ff851cded9c)
-rw-r--r--source3/lib/cmd_interp.c1
-rw-r--r--source3/passdb/pdb_smbpasswd.c2
-rw-r--r--source3/rpc_client/cli_connect.c1
-rw-r--r--source3/rpc_client/cli_spoolss.c1
-rw-r--r--source3/rpc_client/cli_spoolss_notify.c1
-rw-r--r--source3/rpc_client/cli_use.c1
-rw-r--r--source3/rpc_client/msrpc_spoolss.c1
-rw-r--r--source3/rpc_client/ncacn_np_use.c1
-rw-r--r--source3/rpc_parse/parse_samr.c1
9 files changed, 0 insertions, 10 deletions
diff --git a/source3/lib/cmd_interp.c b/source3/lib/cmd_interp.c
index 7d40a38136..7934dd0ce9 100644
--- a/source3/lib/cmd_interp.c
+++ b/source3/lib/cmd_interp.c
@@ -27,7 +27,6 @@
#include "includes.h"
#include "rpc_parse.h"
-#include "rpc_client.h"
#ifndef REGISTER
#define REGISTER 0
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c
index 8432a4cc23..57253d9b78 100644
--- a/source3/passdb/pdb_smbpasswd.c
+++ b/source3/passdb/pdb_smbpasswd.c
@@ -1160,8 +1160,6 @@ Error was %s\n", pwd->smb_name, pfile2, strerror(errno)));
********************************************************************/
static BOOL build_smb_pass (struct smb_passwd *smb_pw, SAM_ACCOUNT *sampass)
{
- uint8 *ptr;
-
if (sampass == NULL)
return False;
diff --git a/source3/rpc_client/cli_connect.c b/source3/rpc_client/cli_connect.c
index 0eceda4c4c..ed01122383 100644
--- a/source3/rpc_client/cli_connect.c
+++ b/source3/rpc_client/cli_connect.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "rpc_parse.h"
-#include "rpc_client.h"
static struct cli_connection **con_list = NULL;
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index c17db2be85..2dd492364b 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "rpc_parse.h"
-#include "rpc_client.h"
#include "nterr.h"
extern int DEBUGLEVEL;
diff --git a/source3/rpc_client/cli_spoolss_notify.c b/source3/rpc_client/cli_spoolss_notify.c
index 879a4f129f..a67b56adc5 100644
--- a/source3/rpc_client/cli_spoolss_notify.c
+++ b/source3/rpc_client/cli_spoolss_notify.c
@@ -22,7 +22,6 @@
#include "includes.h"
#include "rpc_parse.h"
-#include "rpc_client.h"
#include "nterr.h"
extern int DEBUGLEVEL;
diff --git a/source3/rpc_client/cli_use.c b/source3/rpc_client/cli_use.c
index 93560e9772..5cd50ca5b0 100644
--- a/source3/rpc_client/cli_use.c
+++ b/source3/rpc_client/cli_use.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "trans2.h"
-#include "rpc_client.h"
extern int DEBUGLEVEL;
extern pstring scope;
diff --git a/source3/rpc_client/msrpc_spoolss.c b/source3/rpc_client/msrpc_spoolss.c
index bee30de854..4938178352 100644
--- a/source3/rpc_client/msrpc_spoolss.c
+++ b/source3/rpc_client/msrpc_spoolss.c
@@ -24,7 +24,6 @@
#include "includes.h"
#include "nterr.h"
#include "rpc_parse.h"
-#include "rpc_client.h"
#include "rpcclient.h"
extern int DEBUGLEVEL;
diff --git a/source3/rpc_client/ncacn_np_use.c b/source3/rpc_client/ncacn_np_use.c
index 1a3938b6e9..cb55feb655 100644
--- a/source3/rpc_client/ncacn_np_use.c
+++ b/source3/rpc_client/ncacn_np_use.c
@@ -25,7 +25,6 @@
#include "includes.h"
#include "rpc_parse.h"
-#include "rpc_client.h"
#include "trans2.h"
extern int DEBUGLEVEL;
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index 6600ecca86..7d023d54fc 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -26,7 +26,6 @@
#include "includes.h"
#include "rpc_parse.h"
-#include "rpc_client.h"
#include "nterr.h"
extern int DEBUGLEVEL;