summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2005-05-02 21:30:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:46 -0500
commit0a65865bfed4bf54262052c3842a3fec90671e94 (patch)
tree0fe15b75488145ba46ccc01ec90f0b8039c1cd5b
parent1c4bbe06549d86614318718a45b9bc48e3bfc81f (diff)
downloadsamba-0a65865bfed4bf54262052c3842a3fec90671e94.tar.gz
samba-0a65865bfed4bf54262052c3842a3fec90671e94.tar.bz2
samba-0a65865bfed4bf54262052c3842a3fec90671e94.zip
r6588: just include includes.h to get prototypes here.
(This used to be commit 5565606560ef017f289c2dc941bf4135fc1a9faa)
-rw-r--r--source3/lib/dummyroot.c3
-rw-r--r--source3/lib/dummysmbd.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/lib/dummyroot.c b/source3/lib/dummyroot.c
index 75263ed232..bd04bd9ee5 100644
--- a/source3/lib/dummyroot.c
+++ b/source3/lib/dummyroot.c
@@ -22,8 +22,7 @@
/* Stupid dummy functions required due to the horrible dependency mess
in Samba. */
-void become_root(void);
-void unbecome_root(void);
+#include "includes.h"
void become_root(void)
{
diff --git a/source3/lib/dummysmbd.c b/source3/lib/dummysmbd.c
index 153ca5cd8c..1b31dff499 100644
--- a/source3/lib/dummysmbd.c
+++ b/source3/lib/dummysmbd.c
@@ -22,7 +22,7 @@
/* Stupid dummy functions required due to the horrible dependency mess
in Samba. */
-void decrement_smbd_process_count( void );
+#include "includes.h"
void decrement_smbd_process_count( void )
{