summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 16:37:56 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 16:37:56 +0200
commit23302413b3fc9cb3695a255b1ea6883f029b46fe (patch)
tree065ce04233442328b558846d7ae8d54a8d65fffd /source4/param
parentf7692d16e3dc5e580364852c709c6c4a371dd32e (diff)
downloadsamba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.gz
samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.bz2
samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.zip
Remove unused include param/param.h.
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/param.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/param/param.h b/source4/param/param.h
index 931f66902c..85db1c3857 100644
--- a/source4/param/param.h
+++ b/source4/param/param.h
@@ -44,6 +44,12 @@ struct smbsrv_connection;
typedef NTSTATUS (*init_module_fn) (void);
+/* 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"
+
enum server_role {
ROLE_STANDALONE=0,
ROLE_DOMAIN_MEMBER=1,