summaryrefslogtreecommitdiffstats
path: root/source4/include/includes.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-06-17 13:48:29 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-06-17 13:48:29 +0200
commit232fd06271d4012872e43a13dc67d2295555f65f (patch)
treece7780a073239b49ef8356fbeaebfcc2f6828fe6 /source4/include/includes.h
parent8259cc592698942aa2c83564a3e2f1aa071d440e (diff)
parent310875e637fd237752770027b28675ed970352dd (diff)
downloadsamba-232fd06271d4012872e43a13dc67d2295555f65f.tar.gz
samba-232fd06271d4012872e43a13dc67d2295555f65f.tar.xz
samba-232fd06271d4012872e43a13dc67d2295555f65f.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 30a33cd0a64c434d6aee551f641343c3b2a6d9ca)
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 1a92e46657..df0d8f7713 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -54,4 +54,10 @@
#define TALLOC_ABORT(reason) smb_panic(reason)
#endif
+/* this needs to be a string which is not in the C library. We
+ previously used "init_module", but that meant that modules which
+ did not define this function ended up calling the C library
+ function init_module() which makes a system call */
+#define SAMBA_INIT_MODULE "samba_init_module"
+
#endif /* _INCLUDES_H */