summaryrefslogtreecommitdiff
path: root/source4/dynconfig/dynconfig.c
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2011-01-02 17:46:14 +1100
committerStefan Metzmacher <metze@samba.org>2011-01-03 13:25:04 +0100
commit3f9157acaeb3d02632f4e51a33744f3eb7054bf5 (patch)
tree06597a3f18e94de04821199f704b865d6049507d /source4/dynconfig/dynconfig.c
parentca47dedaaf635042400d6b7cc720a72ced3e113a (diff)
downloadsamba-3f9157acaeb3d02632f4e51a33744f3eb7054bf5.tar.gz
samba-3f9157acaeb3d02632f4e51a33744f3eb7054bf5.tar.bz2
samba-3f9157acaeb3d02632f4e51a33744f3eb7054bf5.zip
s4:dynconfig: Add prototypes to match dynconfig.c
Also, SCRIPTSBINDIR isn't really common with Samba3 dynconfig Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 13:25:04 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/dynconfig/dynconfig.c')
-rw-r--r--source4/dynconfig/dynconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dynconfig/dynconfig.c b/source4/dynconfig/dynconfig.c
index ac791411bf..0c23452cc3 100644
--- a/source4/dynconfig/dynconfig.c
+++ b/source4/dynconfig/dynconfig.c
@@ -40,6 +40,8 @@
* table? There's kind of a chicken-and-egg situation there...
**/
+#include "dynconfig.h"
+
#define DEFINE_DYN_CONFIG_PARAM(name) \
const char *dyn_##name = name; \
\
@@ -66,7 +68,6 @@ const char *dyn_##name = name; \
/* these are in common with s3 */
DEFINE_DYN_CONFIG_PARAM(SBINDIR)
-DEFINE_DYN_CONFIG_PARAM(SCRIPTSBINDIR)
DEFINE_DYN_CONFIG_PARAM(BINDIR)
DEFINE_DYN_CONFIG_PARAM(SWATDIR)
DEFINE_DYN_CONFIG_PARAM(CONFIGFILE) /**< Location of smb.conf file. **/
@@ -91,3 +92,4 @@ DEFINE_DYN_CONFIG_PARAM(WINBINDD_SOCKET_DIR)
DEFINE_DYN_CONFIG_PARAM(WINBINDD_PRIVILEGED_SOCKET_DIR)
DEFINE_DYN_CONFIG_PARAM(NTP_SIGND_SOCKET_DIR)
DEFINE_DYN_CONFIG_PARAM(PYTHONDIR)
+DEFINE_DYN_CONFIG_PARAM(SCRIPTSBINDIR)