From 23302413b3fc9cb3695a255b1ea6883f029b46fe Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 24 Oct 2008 16:37:56 +0200 Subject: Remove unused include param/param.h. --- source4/param/param.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/param') 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, -- cgit