summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-09-25 03:31:55 +0200
committerMichael Adam <obnox@samba.org>2014-09-30 23:35:08 +0200
commitd11b0c42228c4ed5f465ed7e5023985a275a59b7 (patch)
treee4dce8bff43c12d884116e9de6bbe095ca5527d0
parentb77bb5a2e3db0656a799f3749140637ac85b5c05 (diff)
downloadsamba-d11b0c42228c4ed5f465ed7e5023985a275a59b7.tar.gz
s3:libsmb: remove unused smb2cli.h
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/libsmb/cli_smb2_fnum.c1
-rw-r--r--source3/libsmb/cliconnect.c1
-rw-r--r--source3/libsmb/smb2cli.h27
-rw-r--r--source3/torture/test_smb2.c1
-rw-r--r--source4/libcli/smb2/session.c1
-rw-r--r--source4/torture/rpc/samba3rpc.c1
6 files changed, 0 insertions, 32 deletions
diff --git a/source3/libsmb/cli_smb2_fnum.c b/source3/libsmb/cli_smb2_fnum.c
index 3a04ea16cd2..a099e034d88 100644
--- a/source3/libsmb/cli_smb2_fnum.c
+++ b/source3/libsmb/cli_smb2_fnum.c
@@ -30,7 +30,6 @@
#include "client.h"
#include "async_smb.h"
#include "../libcli/smb/smbXcli_base.h"
-#include "smb2cli.h"
#include "cli_smb2_fnum.h"
#include "trans2.h"
#include "clirap.h"
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 15b63e12278..950865167d1 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -34,7 +34,6 @@
#include "libsmb/nmblib.h"
#include "librpc/ndr/libndr.h"
#include "../libcli/smb/smbXcli_base.h"
-#include "smb2cli.h"
#define STAR_SMBSERVER "*SMBSERVER"
diff --git a/source3/libsmb/smb2cli.h b/source3/libsmb/smb2cli.h
deleted file mode 100644
index 2f57972039f..00000000000
--- a/source3/libsmb/smb2cli.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
- smb2 client routines
- Copyright (C) Volker Lendecke 2011
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef __SMB2CLI_H__
-#define __SMB2CLI_H__
-
-struct smbXcli_conn;
-struct smbXcli_session;
-struct cli_state;
-
-#endif /* __SMB2CLI_H__ */
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 247084b012c..b76a72d047d 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -22,7 +22,6 @@
#include "client.h"
#include "trans2.h"
#include "../libcli/smb/smbXcli_base.h"
-#include "libsmb/smb2cli.h"
#include "libcli/security/security.h"
#include "libsmb/proto.h"
#include "auth/gensec/gensec.h"
diff --git a/source4/libcli/smb2/session.c b/source4/libcli/smb2/session.c
index 9ab96a3a13f..c96693b4c9e 100644
--- a/source4/libcli/smb2/session.c
+++ b/source4/libcli/smb2/session.c
@@ -29,7 +29,6 @@
#include "auth/gensec/gensec.h"
#include "auth/credentials/credentials.h"
#include "../libcli/smb/smbXcli_base.h"
-#include "../source3/libsmb/smb2cli.h"
/**
initialise a smb2_session structure
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index dbed3efdb2a..406eb9ab055 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -46,7 +46,6 @@
#include "libcli/smb2/smb2_calls.h"
#include "librpc/rpc/dcerpc.h"
#include "librpc/rpc/dcerpc_proto.h"
-#include "../source3/libsmb/smb2cli.h"
#include "libcli/smb/smbXcli_base.h"
/*