summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-21 19:23:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:10 -0500
commite273187811f4745fa67181e01de042d3a6a2df10 (patch)
tree0f8fc7f8cafa451abb66c1f1620559617a00c95b /source3
parent281931ea77d6a38606261d5056e7dba21ed6d357 (diff)
downloadsamba-e273187811f4745fa67181e01de042d3a6a2df10.tar.gz
samba-e273187811f4745fa67181e01de042d3a6a2df10.tar.bz2
samba-e273187811f4745fa67181e01de042d3a6a2df10.zip
r24605: remove some stuff samba3 doesn't need any more
metze (This used to be commit 5514e8487fee453b730a966ebc6fcdcd56da047a)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/gen_ndr/ndr_dcerpc.h2
-rw-r--r--source3/librpc/gen_ndr/tables.c63
-rw-r--r--source3/script/build_idl.sh14
3 files changed, 0 insertions, 79 deletions
diff --git a/source3/librpc/gen_ndr/ndr_dcerpc.h b/source3/librpc/gen_ndr/ndr_dcerpc.h
deleted file mode 100644
index 292e9011c6..0000000000
--- a/source3/librpc/gen_ndr/ndr_dcerpc.h
+++ /dev/null
@@ -1,2 +0,0 @@
-/* empty header to deal with pidl */
-
diff --git a/source3/librpc/gen_ndr/tables.c b/source3/librpc/gen_ndr/tables.c
deleted file mode 100644
index 1a24afe0d0..0000000000
--- a/source3/librpc/gen_ndr/tables.c
+++ /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;
-}
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh
index 77f37d8e75..7aaddc70c7 100644
--- a/source3/script/build_idl.sh
+++ b/source3/script/build_idl.sh
@@ -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