diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-30 22:46:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:06 -0500 |
commit | aa9f67163cd2df2a815ef585edad1951343b82c8 (patch) | |
tree | 88058f98a5681563c745a9e3239469b61e11648f /source4/utils | |
parent | 5a26b2d72b63f0b3d8d4aa151044521fdf8c2064 (diff) | |
download | samba-aa9f67163cd2df2a815ef585edad1951343b82c8.tar.gz samba-aa9f67163cd2df2a815ef585edad1951343b82c8.tar.xz samba-aa9f67163cd2df2a815ef585edad1951343b82c8.zip |
r12620: Get rid of automatically generated lists of init functions of subsystems.
This allows Samba libraries to be used by other projects (and parts of
Samba to be built as shared libraries).
(This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/ndrdump.c | 1 | ||||
-rw-r--r-- | source4/utils/net/net.c | 3 | ||||
-rw-r--r-- | source4/utils/ntlm_auth.c | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c index 33bffe77b58..497726279b9 100644 --- a/source4/utils/ndrdump.c +++ b/source4/utils/ndrdump.c @@ -22,7 +22,6 @@ #include "lib/cmdline/popt_common.h" #include "system/iconv.h" #include "system/filesys.h" -#include "smb_build.h" static const struct dcerpc_interface_call *find_function( const struct dcerpc_interface_table *p, diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c index 17b12b7103d..f82eddb7636 100644 --- a/source4/utils/net/net.c +++ b/source4/utils/net/net.c @@ -44,7 +44,6 @@ #include "includes.h" #include "utils/net/net.h" #include "lib/cmdline/popt_common.h" -#include "smb_build.h" /* run a function from a function table. If not found then @@ -186,7 +185,7 @@ static int binary_net(int argc, const char **argv) return net_usage(ctx, argc, argv); } - net_init_subsystems; + dcerpc_init(); mem_ctx = talloc_init("net_context"); ctx = talloc(mem_ctx, struct net_context); diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c index ffdbd2f2f68..d6b65d75d7d 100644 --- a/source4/utils/ntlm_auth.c +++ b/source4/utils/ntlm_auth.c @@ -27,7 +27,6 @@ #include "lib/cmdline/popt_common.h" #include "auth/auth.h" #include "pstring.h" -#include "smb_build.h" #define SQUID_BUFFER_SIZE 2010 @@ -931,8 +930,7 @@ int main(int argc, const char **argv) return 1; } - ntlm_auth_init_subsystems; - + gensec_init(); if (opt_domain == NULL) { opt_domain = lp_workgroup(); |