summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-02 00:17:06 +0200
committerGünther Deschner <gd@samba.org>2010-05-18 01:15:38 +0200
commitfe31b67d5e9bf5b6c195eddb5f7b42e680a0f36a (patch)
tree9066b6603e1ddad94d6ec3c6ec26c575c06b3d40 /source3/utils
parentd7d313851aed176d1caf7374a87c5ad327cb00a8 (diff)
downloadsamba-fe31b67d5e9bf5b6c195eddb5f7b42e680a0f36a.tar.gz
samba-fe31b67d5e9bf5b6c195eddb5f7b42e680a0f36a.tar.xz
samba-fe31b67d5e9bf5b6c195eddb5f7b42e680a0f36a.zip
s3-registry: only include registry headers when really needed.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/eventlogadm.c1
-rw-r--r--source3/utils/net_registry.c2
-rw-r--r--source3/utils/net_registry_util.c1
-rw-r--r--source3/utils/net_rpc_printer.c1
-rw-r--r--source3/utils/net_rpc_registry.c2
-rw-r--r--source3/utils/profiles.c1
6 files changed, 6 insertions, 2 deletions
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index 73d851db6f1..63329dea223 100644
--- a/source3/utils/eventlogadm.c
+++ b/source3/utils/eventlogadm.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "lib/eventlog/eventlog.h"
+#include "registry.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_UTIL_EVENTLOG
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c
index ae9cdde2fbd..0c3aea0f4af 100644
--- a/source3/utils/net_registry.c
+++ b/source3/utils/net_registry.c
@@ -20,11 +20,11 @@
*/
#include "includes.h"
+#include "registry.h"
#include "utils/net.h"
#include "utils/net_registry_util.h"
#include "include/g_lock.h"
-
/*
*
* Helper functions
diff --git a/source3/utils/net_registry_util.c b/source3/utils/net_registry_util.c
index 0b0f6172229..5bb289335e5 100644
--- a/source3/utils/net_registry_util.c
+++ b/source3/utils/net_registry_util.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "registry.h"
#include "utils/net_registry_util.h"
#include "utils/net.h"
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 9d38fca77e9..be926864a7b 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "utils/net.h"
#include "../librpc/gen_ndr/cli_spoolss.h"
+#include "registry.h"
/* support itanium as well */
static const struct print_architecture_table_node archi_table[]= {
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c
index 2400af4601e..6d87bd4e1b3 100644
--- a/source3/utils/net_rpc_registry.c
+++ b/source3/utils/net_rpc_registry.c
@@ -18,10 +18,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "includes.h"
+#include "registry.h"
#include "utils/net.h"
#include "utils/net_registry_util.h"
#include "regfio.h"
-#include "reg_objects.h"
#include "../librpc/gen_ndr/cli_winreg.h"
/*******************************************************************
diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c
index 0dc9aca8765..499f7bd7589 100644
--- a/source3/utils/profiles.c
+++ b/source3/utils/profiles.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "reg_objects.h"
#include "regfio.h"
/* GLOBAL VARIABLES */