summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-24 15:31:06 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commitb2af281e508194d9548ea1119c19ee96a0dd1f0a (patch)
treeaa029804955ef6aa2f516bae5b5a640096c3b27a /source3/utils
parent4bd5f51c43147b74203711764390727bdda17a77 (diff)
downloadsamba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.gz
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.bz2
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.zip
s3-messages: only include messages.h where needed.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/dbwrap_tool.c1
-rw-r--r--source3/utils/dbwrap_torture.c1
-rw-r--r--source3/utils/net.c1
-rw-r--r--source3/utils/net_g_lock.c1
-rw-r--r--source3/utils/net_status.c1
-rw-r--r--source3/utils/smbcontrol.c1
-rw-r--r--source3/utils/status.c1
7 files changed, 7 insertions, 0 deletions
diff --git a/source3/utils/dbwrap_tool.c b/source3/utils/dbwrap_tool.c
index f65964d7f9..6809a0bc73 100644
--- a/source3/utils/dbwrap_tool.c
+++ b/source3/utils/dbwrap_tool.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "dbwrap.h"
+#include "messages.h"
typedef enum { OP_FETCH, OP_STORE, OP_DELETE, OP_ERASE, OP_LISTKEYS } dbwrap_op;
diff --git a/source3/utils/dbwrap_torture.c b/source3/utils/dbwrap_torture.c
index e9bf98a078..c1c286e5ff 100644
--- a/source3/utils/dbwrap_torture.c
+++ b/source3/utils/dbwrap_torture.c
@@ -23,6 +23,7 @@
#include "system/filesys.h"
#include "popt_common.h"
#include "dbwrap.h"
+#include "messages.h"
#if 0
#include "lib/events/events.h"
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 9eace76661..ec202bb87c 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -47,6 +47,7 @@
#include "lib/netapi/netapi.h"
#include "../libcli/security/security.h"
#include "passdb.h"
+#include "messages.h"
#ifdef WITH_FAKE_KASERVER
#include "utils/net_afs.h"
diff --git a/source3/utils/net_g_lock.c b/source3/utils/net_g_lock.c
index 937c11c0c4..6ed5d1776a 100644
--- a/source3/utils/net_g_lock.c
+++ b/source3/utils/net_g_lock.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "net.h"
#include "g_lock.h"
+#include "messages.h"
static bool net_g_lock_init(TALLOC_CTX *mem_ctx,
struct tevent_context **pev,
diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c
index 335920195e..d6027433a2 100644
--- a/source3/utils/net_status.c
+++ b/source3/utils/net_status.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "utils/net.h"
#include "session.h"
+#include "messages.h"
int net_status_usage(struct net_context *c, int argc, const char **argv)
{
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 4555954fd5..04aeb8d6bd 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -31,6 +31,7 @@
#include "nt_printing.h"
#include "printing/notify.h"
#include "libsmb/nmblib.h"
+#include "messages.h"
#if HAVE_LIBUNWIND_H
#include <libunwind.h>
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 18d338539d..cf625fb73f 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -37,6 +37,7 @@
#include "../libcli/security/security.h"
#include "session.h"
#include "locking/proto.h"
+#include "messages.h"
#define SMB_MAXPIDS 2048
static uid_t Ucrit_uid = 0; /* added by OH */