From 231ae2430ee4f762035803ee0c7c00823fba6bfb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 23 Nov 2003 03:10:50 +0000 Subject: get rid of some more unused headers (This used to be commit 48276c768bc58aa531771e0172a7480ec94d3254) --- source4/Makefile.in | 2 -- source4/include/rpc_client.h | 28 ---------------------------- source4/utils/net.h | 2 -- source4/web/cgi.c | 1 - source4/web/diagnose.c | 1 - source4/web/neg_lang.c | 1 - source4/web/startstop.c | 1 - source4/web/statuspage.c | 1 - source4/web/swat.c | 1 - source4/wrepld/wins_repl.h | 2 -- 10 files changed, 40 deletions(-) delete mode 100644 source4/include/rpc_client.h diff --git a/source4/Makefile.in b/source4/Makefile.in index 2a789c4fe9..b6e9ee0327 100644 --- a/source4/Makefile.in +++ b/source4/Makefile.in @@ -639,8 +639,6 @@ MAKEDIR = || exec false; \ exec false; fi || exec false .c.o: - @if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \ - dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi @echo Compiling $*.c @$(CC) -I. -I$(srcdir) $(FLAGS) -c $< \ -o $@ diff --git a/source4/include/rpc_client.h b/source4/include/rpc_client.h deleted file mode 100644 index bce9ec7f27..0000000000 --- a/source4/include/rpc_client.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - Unix SMB/CIFS implementation. - SMB parameters and setup - Copyright (C) Elrond 2000 - - 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 2 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, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ - -#ifndef _RPC_CLIENT_H -#define _RPC_CLIENT_H - -#if 0 /* JERRY */ -#include "rpc_client_proto.h" -#endif - -#endif /* _RPC_CLIENT_H */ diff --git a/source4/utils/net.h b/source4/utils/net.h index c1b49a919b..1d83a02635 100644 --- a/source4/utils/net.h +++ b/source4/utils/net.h @@ -17,8 +17,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "../utils/net_proto.h" - #define NET_FLAGS_MASTER 1 #define NET_FLAGS_DMB 2 diff --git a/source4/web/cgi.c b/source4/web/cgi.c index 212c2884b6..f755bb22e9 100644 --- a/source4/web/cgi.c +++ b/source4/web/cgi.c @@ -19,7 +19,6 @@ #include "includes.h" -#include "../web/swat_proto.h" #define MAX_VARIABLES 10000 diff --git a/source4/web/diagnose.c b/source4/web/diagnose.c index f9a70d1505..f79d59fc6a 100644 --- a/source4/web/diagnose.c +++ b/source4/web/diagnose.c @@ -19,7 +19,6 @@ */ #include "includes.h" -#include "../web/swat_proto.h" #ifdef WITH_WINBIND diff --git a/source4/web/neg_lang.c b/source4/web/neg_lang.c index b09ab7b452..495596c759 100644 --- a/source4/web/neg_lang.c +++ b/source4/web/neg_lang.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "../web/swat_proto.h" /* during a file download we first check to see if there is a language diff --git a/source4/web/startstop.c b/source4/web/startstop.c index c6babff954..94578dc19e 100644 --- a/source4/web/startstop.c +++ b/source4/web/startstop.c @@ -19,7 +19,6 @@ */ #include "includes.h" -#include "../web/swat_proto.h" #include "dynconfig.h" /** Need to wait for daemons to startup */ diff --git a/source4/web/statuspage.c b/source4/web/statuspage.c index 5dadb99125..33bf63ae62 100644 --- a/source4/web/statuspage.c +++ b/source4/web/statuspage.c @@ -19,7 +19,6 @@ */ #include "includes.h" -#include "../web/swat_proto.h" #define PIDMAP struct PidMap diff --git a/source4/web/swat.c b/source4/web/swat.c index 9e91543317..1e01910061 100644 --- a/source4/web/swat.c +++ b/source4/web/swat.c @@ -29,7 +29,6 @@ **/ #include "includes.h" -#include "../web/swat_proto.h" #define GLOBALS_SNUM -1 diff --git a/source4/wrepld/wins_repl.h b/source4/wrepld/wins_repl.h index 25b4442212..7aa7fa6a9e 100644 --- a/source4/wrepld/wins_repl.h +++ b/source4/wrepld/wins_repl.h @@ -157,5 +157,3 @@ struct BUFFER { -#include "wrepld_proto.h" - -- cgit