summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-27 19:13:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:51 -0500
commitd49f11df218699014af32d19eef8dcc0a70ff38f (patch)
treec6ec4537b6b4205850fbb59b36540f4a4ca84e68 /source4/librpc
parent00ace36e07f128df4596cfc8b6743fbfda2252bd (diff)
downloadsamba-d49f11df218699014af32d19eef8dcc0a70ff38f.tar.gz
samba-d49f11df218699014af32d19eef8dcc0a70ff38f.tar.bz2
samba-d49f11df218699014af32d19eef8dcc0a70ff38f.zip
r12517: Don't generate empty init functions
(This used to be commit 832a1092c9c11c293b5748e2e78da872fcba2a42)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.mk17
-rw-r--r--source4/librpc/idl/nbt.idl4
-rw-r--r--source4/librpc/idl/winsrepl.idl2
3 files changed, 1 insertions, 22 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 70159ecb20..5a43fbe0b1 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -34,7 +34,6 @@ NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR
[SUBSYSTEM::NDR_DCERPC]
-INIT_FUNCTION = dcerpc_dcerpc_init
OBJ_FILES = gen_ndr/ndr_dcerpc.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR
@@ -70,7 +69,6 @@ NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR
[SUBSYSTEM::NDR_MISC]
-INIT_FUNCTION = dcerpc_misc_init
OBJ_FILES = gen_ndr/ndr_misc.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR
@@ -229,7 +227,6 @@ REQUIRED_SUBSYSTEMS = LIBNDR NDR_ORPC
OBJ_FILES = ndr/ndr_orpc.o
[SUBSYSTEM::NDR_ORPC]
-INIT_FUNCTION = dcerpc_orpc_init
OBJ_FILES = gen_ndr/ndr_orpc.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR NDR_ORPC_MANUAL
@@ -295,7 +292,6 @@ NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR
[SUBSYSTEM::NDR_KRB5PAC]
-INIT_FUNCTION = dcerpc_krb5pac_init
OBJ_FILES = gen_ndr/ndr_krb5pac.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR NDR_KRB5PAC_UTIL
@@ -304,26 +300,22 @@ REQUIRED_SUBSYSTEMS = LIBNDR NDR_KRB5PAC_UTIL
OBJ_FILES = ndr/ndr_krb5pac.o
[SUBSYSTEM::NDR_XATTR]
-INIT_FUNCTION = dcerpc_xattr_init
OBJ_FILES = gen_ndr/ndr_xattr.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR
[SUBSYSTEM::NDR_SCHANNEL]
-INIT_FUNCTION = dcerpc_schannel_init
OBJ_FILES = gen_ndr/ndr_schannel.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR
[SUBSYSTEM::NDR_NBT]
OBJ_FILES = gen_ndr/ndr_nbt.o
-INIT_FUNCTION = dcerpc_nbt_init
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR NDR_MISC
[SUBSYSTEM::NDR_WINSREPL]
OBJ_FILES = gen_ndr/ndr_winsrepl.o
-INIT_FUNCTION = dcerpc_winsrepl_init
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR NDR_NBT
@@ -659,12 +651,3 @@ OBJ_FILES = gen_ndr/ndr_irpc_ejs.o
SUBSYSTEM = SMBCALLS
REQUIRED_SUBSYSTEMS = LIBRPC NDR_IRPC
NOPROTO = YES
-
-################################################
-# Start SUBSYSTEM RPC_EJS
-[SUBSYSTEM::RPC_EJS]
-REQUIRED_SUBSYSTEMS = RPC_EJS_ECHO RPC_EJS_MISC RPC_EJS_SAMR RPC_EJS_SECURITY \
- RPC_EJS_LSA RPC_EJS_SRVSVC RPC_EJS_SVCCTL RPC_EJS_IRPC RPC_EJS_WINREG \
- RPC_EJS_INITSHUTDOWN
-# End SUBSYSTEM RPC_EJS
-################################################
diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl
index 96295100bb..fe3bea49c4 100644
--- a/source4/librpc/idl/nbt.idl
+++ b/source4/librpc/idl/nbt.idl
@@ -8,9 +8,7 @@
encoding if it doesn't work out
*/
-[ uuid("1-2-3-4"),
- version(1.0),
- depends(security)
+[ depends(security)
] interface nbt
{
const int NBT_NAME_SERVICE_PORT = 137;
diff --git a/source4/librpc/idl/winsrepl.idl b/source4/librpc/idl/winsrepl.idl
index 08b7fb72d8..d16444e346 100644
--- a/source4/librpc/idl/winsrepl.idl
+++ b/source4/librpc/idl/winsrepl.idl
@@ -10,8 +10,6 @@
*/
[
- uuid("0-1-2-3-4"),
- version(0.0),
pointer_default(unique),
pointer_default_top(unique),
depends(nbt)