From 9515fc4406464b6a015a06d89ca0370810977486 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Feb 2005 02:08:39 +0000 Subject: r5322: removed a whole bunch of #include lines that minimal_includes.pl thinks are not needed. Now to see how this fares on the build farm :) (This used to be commit 80ffcc650c9c86141507edd8338b97814a85f868) --- source4/libcli/auth/clikrb5.c | 1 - source4/libcli/auth/credentials.c | 1 - source4/libcli/auth/gensec_gssapi.c | 2 -- source4/libcli/auth/gensec_krb5.c | 1 - source4/libcli/auth/gssapi_parse.c | 1 - source4/libcli/auth/kerberos.c | 1 - source4/libcli/cliconnect.c | 1 - source4/libcli/composite/fetchfile.c | 1 - source4/libcli/ldap/ldap.c | 1 - source4/libcli/nbt/namequery.c | 1 - source4/libcli/nbt/namerefresh.c | 1 - source4/libcli/nbt/nameregister.c | 1 - source4/libcli/raw/clisession.c | 1 - source4/libcli/raw/clitransport.c | 1 - source4/libcli/raw/rawacl.c | 1 - source4/libcli/raw/raweas.c | 1 - 16 files changed, 17 deletions(-) diff --git a/source4/libcli/auth/clikrb5.c b/source4/libcli/auth/clikrb5.c index 051798c9f1..f2536663f4 100644 --- a/source4/libcli/auth/clikrb5.c +++ b/source4/libcli/auth/clikrb5.c @@ -23,7 +23,6 @@ #include "system/network.h" #include "system/kerberos.h" #include "libcli/auth/kerberos.h" -#include "system/time.h" #ifdef HAVE_KRB5 diff --git a/source4/libcli/auth/credentials.c b/source4/libcli/auth/credentials.c index 18ce6fec1b..bcb462ae9d 100644 --- a/source4/libcli/auth/credentials.c +++ b/source4/libcli/auth/credentials.c @@ -25,7 +25,6 @@ #include "system/time.h" #include "auth/auth.h" #include "lib/crypto/crypto.h" -#include "librpc/gen_ndr/ndr_netlogon.h" /* initialise the credentials state for old-style 64 bit session keys diff --git a/source4/libcli/auth/gensec_gssapi.c b/source4/libcli/auth/gensec_gssapi.c index 41f36b2703..c974b93952 100644 --- a/source4/libcli/auth/gensec_gssapi.c +++ b/source4/libcli/auth/gensec_gssapi.c @@ -23,8 +23,6 @@ #include "includes.h" #include "system/kerberos.h" -#include "system/time.h" -#include "libcli/auth/kerberos.h" #include "auth/auth.h" #undef DBGC_CLASS diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c index a0c2a77f4b..1fc33d3644 100644 --- a/source4/libcli/auth/gensec_krb5.c +++ b/source4/libcli/auth/gensec_krb5.c @@ -26,7 +26,6 @@ #include "includes.h" #include "system/kerberos.h" -#include "system/time.h" #include "libcli/auth/kerberos.h" #include "librpc/gen_ndr/ndr_krb5pac.h" #include "auth/auth.h" diff --git a/source4/libcli/auth/gssapi_parse.c b/source4/libcli/auth/gssapi_parse.c index f984f6303f..89929c8c6d 100644 --- a/source4/libcli/auth/gssapi_parse.c +++ b/source4/libcli/auth/gssapi_parse.c @@ -25,7 +25,6 @@ #include "includes.h" #include "asn_1.h" #include "system/kerberos.h" -#include "libcli/auth/kerberos.h" #include "libcli/auth/gensec.h" /* diff --git a/source4/libcli/auth/kerberos.c b/source4/libcli/auth/kerberos.c index 2e5a53bb00..186da0fcf4 100644 --- a/source4/libcli/auth/kerberos.c +++ b/source4/libcli/auth/kerberos.c @@ -24,7 +24,6 @@ #include "includes.h" #include "system/kerberos.h" #include "libcli/auth/kerberos.h" -#include "system/time.h" #include "secrets.h" #include "pstring.h" #include "ads.h" diff --git a/source4/libcli/cliconnect.c b/source4/libcli/cliconnect.c index 263527ffc0..f391b6bc0d 100644 --- a/source4/libcli/cliconnect.c +++ b/source4/libcli/cliconnect.c @@ -21,7 +21,6 @@ */ #include "includes.h" -#include "system/filesys.h" #include "libcli/raw/libcliraw.h" #include "libcli/composite/composite.h" diff --git a/source4/libcli/composite/fetchfile.c b/source4/libcli/composite/fetchfile.c index 4f63f6328f..a7d6f2ffd8 100644 --- a/source4/libcli/composite/fetchfile.c +++ b/source4/libcli/composite/fetchfile.c @@ -24,7 +24,6 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "libcli/composite/composite.h" -#include "librpc/gen_ndr/ndr_security.h" enum fetchfile_stage {FETCHFILE_CONNECT, FETCHFILE_READ}; diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c index 4b449e5123..2962f7eef4 100644 --- a/source4/libcli/ldap/ldap.c +++ b/source4/libcli/ldap/ldap.c @@ -25,7 +25,6 @@ #include "includes.h" #include "system/iconv.h" -#include "system/filesys.h" #include "asn_1.h" #include "libcli/ldap/ldap.h" diff --git a/source4/libcli/nbt/namequery.c b/source4/libcli/nbt/namequery.c index 5907c45b87..a9748c7bd2 100644 --- a/source4/libcli/nbt/namequery.c +++ b/source4/libcli/nbt/namequery.c @@ -22,7 +22,6 @@ #include "includes.h" #include "libcli/nbt/libnbt.h" -#include "system/network.h" /* send a nbt name query diff --git a/source4/libcli/nbt/namerefresh.c b/source4/libcli/nbt/namerefresh.c index 99d79054a6..a344f2c6e8 100644 --- a/source4/libcli/nbt/namerefresh.c +++ b/source4/libcli/nbt/namerefresh.c @@ -24,7 +24,6 @@ #include "libcli/nbt/libnbt.h" #include "libcli/raw/libcliraw.h" #include "libcli/composite/composite.h" -#include "system/network.h" /* send a nbt name refresh request diff --git a/source4/libcli/nbt/nameregister.c b/source4/libcli/nbt/nameregister.c index b0ed1ae89c..9c1db38529 100644 --- a/source4/libcli/nbt/nameregister.c +++ b/source4/libcli/nbt/nameregister.c @@ -24,7 +24,6 @@ #include "libcli/nbt/libnbt.h" #include "libcli/raw/libcliraw.h" #include "libcli/composite/composite.h" -#include "system/network.h" /* send a nbt name registration request diff --git a/source4/libcli/raw/clisession.c b/source4/libcli/raw/clisession.c index 4eba464274..5f75701871 100644 --- a/source4/libcli/raw/clisession.c +++ b/source4/libcli/raw/clisession.c @@ -23,7 +23,6 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "system/filesys.h" -#include "auth/auth.h" #define SETUP_REQUEST_SESSION(cmd, wct, buflen) do { \ req = smbcli_request_setup_session(session, cmd, wct, buflen); \ diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c index ee382da3c2..05833b2f9a 100644 --- a/source4/libcli/raw/clitransport.c +++ b/source4/libcli/raw/clitransport.c @@ -23,7 +23,6 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "lib/socket/socket.h" -#include "system/time.h" #include "dlinklist.h" #include "lib/events/events.h" diff --git a/source4/libcli/raw/rawacl.c b/source4/libcli/raw/rawacl.c index b2dac09f81..82c69ec706 100644 --- a/source4/libcli/raw/rawacl.c +++ b/source4/libcli/raw/rawacl.c @@ -21,7 +21,6 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_security.h" -#include "libcli/raw/libcliraw.h" /**************************************************************************** fetch file ACL (async send) diff --git a/source4/libcli/raw/raweas.c b/source4/libcli/raw/raweas.c index 49be9a43e6..4ab3344135 100644 --- a/source4/libcli/raw/raweas.c +++ b/source4/libcli/raw/raweas.c @@ -19,7 +19,6 @@ */ #include "includes.h" -#include "libcli/raw/libcliraw.h" /* work out how many bytes on the wire a ea list will consume. -- cgit