From d4de4c2d210d2e8c9b5aedf70695594809ad6a0b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 30 Dec 2005 13:16:54 +0000 Subject: r12608: Remove some unused #include lines. (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981) --- source4/libnet/domain.c | 1 - source4/libnet/libnet_join.c | 3 --- source4/libnet/libnet_lookup.c | 3 --- source4/libnet/libnet_passwd.c | 1 - source4/libnet/libnet_samdump.c | 2 -- source4/libnet/libnet_samdump_keytab.c | 3 --- source4/libnet/libnet_samsync_ldb.c | 4 ---- source4/libnet/libnet_share.c | 1 - source4/libnet/libnet_time.c | 1 - source4/libnet/libnet_vampire.c | 2 -- source4/libnet/userinfo.c | 1 - source4/libnet/userman.c | 1 - 12 files changed, 23 deletions(-) (limited to 'source4/libnet') diff --git a/source4/libnet/domain.c b/source4/libnet/domain.c index 3a5aecb92e8..342b92f4038 100644 --- a/source4/libnet/domain.c +++ b/source4/libnet/domain.c @@ -24,7 +24,6 @@ #include "includes.h" #include "libcli/composite/composite.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "libnet/composite.h" static void domain_open_handler(struct rpc_request*); diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index af15d817975..a1aa00c5c2e 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -22,14 +22,11 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_samr.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_drsuapi.h" #include "lib/ldb/include/ldb.h" #include "lib/ldb/include/ldb_errors.h" #include "libcli/cldap/cldap.h" #include "include/secrets.h" -#include "librpc/gen_ndr/drsuapi.h" #include "dsdb/samdb/samdb.h" /* diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index 67c102a3e2e..e64ab6a291f 100644 --- a/source4/libnet/libnet_lookup.c +++ b/source4/libnet/libnet_lookup.c @@ -23,12 +23,9 @@ */ #include "includes.h" -#include "libcli/raw/libcliraw.h" #include "lib/events/events.h" #include "libnet/libnet.h" #include "libcli/composite/composite.h" -#include "libnet/composite.h" -#include "librpc/gen_ndr/ndr_nbt.h" struct lookup_state { diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c index db54935a78f..ec97eea8385 100644 --- a/source4/libnet/libnet_passwd.c +++ b/source4/libnet/libnet_passwd.c @@ -21,7 +21,6 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "lib/crypto/crypto.h" /* diff --git a/source4/libnet/libnet_samdump.c b/source4/libnet/libnet_samdump.c index 89364079728..a5d060c5eb4 100644 --- a/source4/libnet/libnet_samdump.c +++ b/source4/libnet/libnet_samdump.c @@ -23,8 +23,6 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_netlogon.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "dlinklist.h" diff --git a/source4/libnet/libnet_samdump_keytab.c b/source4/libnet/libnet_samdump_keytab.c index deaa2828014..e267cfdc2ed 100644 --- a/source4/libnet/libnet_samdump_keytab.c +++ b/source4/libnet/libnet_samdump_keytab.c @@ -23,10 +23,7 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_netlogon.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "system/kerberos.h" -#include "auth/kerberos/kerberos.h" static NTSTATUS samdump_keytab_handle_user(TALLOC_CTX *mem_ctx, const char *keytab_name, diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c index c97d9013c9c..d07002691fb 100644 --- a/source4/libnet/libnet_samsync_ldb.c +++ b/source4/libnet/libnet_samsync_ldb.c @@ -25,11 +25,7 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_netlogon.h" -#include "librpc/gen_ndr/ndr_samr.h" -#include "dlinklist.h" #include "libcli/ldap/ldap.h" -#include "lib/ldb/include/ldb.h" #include "dsdb/samdb/samdb.h" #include "auth/auth.h" diff --git a/source4/libnet/libnet_share.c b/source4/libnet/libnet_share.c index 0473658da81..9422cdd3061 100644 --- a/source4/libnet/libnet_share.c +++ b/source4/libnet/libnet_share.c @@ -20,7 +20,6 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" NTSTATUS libnet_ListShares(struct libnet_context *ctx, diff --git a/source4/libnet/libnet_time.c b/source4/libnet/libnet_time.c index 655a4755038..7d480a53482 100644 --- a/source4/libnet/libnet_time.c +++ b/source4/libnet/libnet_time.c @@ -20,7 +20,6 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" #include "system/time.h" /* diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index d0b7722c08c..d9c25d053ec 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -23,8 +23,6 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_netlogon.h" -#include "librpc/gen_ndr/ndr_samr.h" /** diff --git a/source4/libnet/userinfo.c b/source4/libnet/userinfo.c index 65781cd1b37..ff5f08c6c10 100644 --- a/source4/libnet/userinfo.c +++ b/source4/libnet/userinfo.c @@ -24,7 +24,6 @@ #include "includes.h" #include "libcli/composite/composite.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "libnet/composite.h" #include "libnet/userinfo.h" diff --git a/source4/libnet/userman.c b/source4/libnet/userman.c index 9c9884831ec..8d46f3fde84 100644 --- a/source4/libnet/userman.c +++ b/source4/libnet/userman.c @@ -24,7 +24,6 @@ #include "includes.h" #include "libcli/composite/composite.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "libnet/composite.h" #include "libnet/userman.h" #include "libnet/userinfo.h" -- cgit