r24605: remove some stuff samba3 doesn't need any more
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Aug 2007 19:23:05 +0000 (19:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:10 +0000 (12:30 -0500)
metze

source/librpc/gen_ndr/ndr_dcerpc.h [deleted file]
source/librpc/gen_ndr/tables.c [deleted file]
source/script/build_idl.sh

diff --git a/source/librpc/gen_ndr/ndr_dcerpc.h b/source/librpc/gen_ndr/ndr_dcerpc.h
deleted file mode 100644 (file)
index 292e901..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/* empty header to deal with pidl */
-
diff --git a/source/librpc/gen_ndr/tables.c b/source/librpc/gen_ndr/tables.c
deleted file mode 100644 (file)
index 1a24afe..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-
-/* Automatically generated by tables.pl. DO NOT EDIT */
-
-#include "includes.h"
-#include "librpc/rpc/dcerpc.h"
-#include "librpc/rpc/dcerpc_table.h"
-#include "librpc/gen_ndr/ndr_dfs.h"
-#include "librpc/gen_ndr/ndr_echo.h"
-#include "librpc/gen_ndr/ndr_epmapper.h"
-#include "librpc/gen_ndr/ndr_eventlog.h"
-#include "librpc/gen_ndr/ndr_initshutdown.h"
-#include "librpc/gen_ndr/ndr_lsa.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "librpc/gen_ndr/ndr_srvsvc.h"
-#include "librpc/gen_ndr/ndr_svcctl.h"
-#include "librpc/gen_ndr/ndr_unixinfo.h"
-#include "librpc/gen_ndr/ndr_winreg.h"
-#include "librpc/gen_ndr/ndr_wkssvc.h"
-
-NTSTATUS dcerpc_register_builtin_interfaces(void)
-{
-       NTSTATUS status;
-
-       status = librpc_register_interface(&ndr_table_netdfs);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_rpcecho);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_epmapper);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_eventlog);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_initshutdown);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_lsarpc);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_netlogon);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_srvsvc);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_svcctl);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_unixinfo);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_winreg);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-       status = librpc_register_interface(&ndr_table_wkssvc);
-       if (NT_STATUS_IS_ERR(status)) return status;
-
-
-       
-       return NT_STATUS_OK;
-}
index 77f37d8e75eb1aa6637e3bb263fe447537844874..7aaddc70c73efea3ca15373330b4be4f5e6cd529 100644 (file)
@@ -41,20 +41,6 @@ if [ "x$list" != x ]; then
        $PIDL $list || exit 1
 fi
 
-##
-## Do miscellaneous cleanup
-##
-
-for f in librpc/gen_ndr/ndr_*.c; do
-       cat $f | sed -e 's/^static //g' > $f.new
-       /bin/mv -f $f.new $f
-done
-
-touch librpc/gen_ndr/ndr_dcerpc.h
-
-echo Generating librpc/gen_ndr/tables.c
-./librpc/tables.pl --output=librpc/gen_ndr/tables.c librpc/gen_ndr/*.h > librpc/gen_ndr/tables.c
-
 cd ${oldpwd}
 
 exit 0