diff options
author | Günther Deschner <gd@samba.org> | 2010-05-18 02:27:34 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-18 10:36:33 +0200 |
commit | e9f5bdf6b5a1aeb7e2e556cf41f7cbc2abed7856 (patch) | |
tree | 8ed9d55ef0bba9c9accba15902f512c40ab6aa51 /source3/lib | |
parent | 415bd627642bb8f18f180daaf61c4a6ddb62ebbd (diff) | |
download | samba-e9f5bdf6b5a1aeb7e2e556cf41f7cbc2abed7856.tar.gz samba-e9f5bdf6b5a1aeb7e2e556cf41f7cbc2abed7856.tar.bz2 samba-e9f5bdf6b5a1aeb7e2e556cf41f7cbc2abed7856.zip |
smbconf: only include smbconf headers where needed.
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/serverinfo.c | 2 | ||||
-rw-r--r-- | source3/lib/smbconf/smbconf_init.c | 1 | ||||
-rw-r--r-- | source3/lib/smbconf/smbconf_reg.c | 2 | ||||
-rw-r--r-- | source3/lib/smbconf/testsuite.c | 4 |
4 files changed, 9 insertions, 0 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c index 51932a5a92..edf41686c5 100644 --- a/source3/lib/netapi/serverinfo.c +++ b/source3/lib/netapi/serverinfo.c @@ -24,6 +24,8 @@ #include "lib/netapi/netapi_private.h" #include "lib/netapi/libnetapi.h" #include "../librpc/gen_ndr/cli_srvsvc.h" +#include "lib/smbconf/smbconf.h" +#include "lib/smbconf/smbconf_reg.h" /**************************************************************** ****************************************************************/ diff --git a/source3/lib/smbconf/smbconf_init.c b/source3/lib/smbconf/smbconf_init.c index 58bb9d9362..36c51de5f0 100644 --- a/source3/lib/smbconf/smbconf_init.c +++ b/source3/lib/smbconf/smbconf_init.c @@ -21,6 +21,7 @@ #include "lib/smbconf/smbconf_private.h" #include "lib/smbconf/smbconf_txt.h" #include "lib/smbconf/smbconf_reg.h" +#include "lib/smbconf/smbconf_init.h" /** * smbconf initialization dispatcher diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c index 96b5f1ee24..6c500785a0 100644 --- a/source3/lib/smbconf/smbconf_reg.c +++ b/source3/lib/smbconf/smbconf_reg.c @@ -20,6 +20,8 @@ #include "includes.h" #include "lib/smbconf/smbconf_private.h" #include "registry.h" +#include "lib/smbconf/smbconf_init.h" +#include "lib/smbconf/smbconf_reg.h" #define INCLUDES_VALNAME "includes" diff --git a/source3/lib/smbconf/testsuite.c b/source3/lib/smbconf/testsuite.c index c83eeb805d..42ef76df11 100644 --- a/source3/lib/smbconf/testsuite.c +++ b/source3/lib/smbconf/testsuite.c @@ -18,6 +18,10 @@ */ #include "includes.h" +#include "lib/smbconf/smbconf.h" +#include "lib/smbconf/smbconf_init.h" +#include "lib/smbconf/smbconf_reg.h" +#include "lib/smbconf/smbconf_txt.h" static void print_strings(const char *prefix, uint32_t num_strings, const char **strings) |