summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-25 07:43:06 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-28 13:10:28 +0200
commit1b7cc4ac7c793d4c1829d842c84273ef2d081fdb (patch)
treea4a55a7a41621f9927c7c842cc5b37dbf53b3bbf /source4/smbd
parent87354c9a6de95d5dcebace77a35fc21a73d599ab (diff)
downloadsamba-1b7cc4ac7c793d4c1829d842c84273ef2d081fdb.tar.gz
samba-1b7cc4ac7c793d4c1829d842c84273ef2d081fdb.tar.bz2
samba-1b7cc4ac7c793d4c1829d842c84273ef2d081fdb.zip
lib/util Rename samba_init_module_fn -> samba_module_init_fn
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.c4
-rw-r--r--source4/smbd/server.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index 710246cf8b..e43e9146d8 100644
--- a/source4/smbd/process_model.c
+++ b/source4/smbd/process_model.c
@@ -103,8 +103,8 @@ _PUBLIC_ NTSTATUS process_model_init(struct loadparm_context *lp_ctx)
{
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_process_model_MODULES_PROTO;
- samba_init_module_fn static_init[] = { STATIC_process_model_MODULES };
- samba_init_module_fn *shared_init;
+ samba_module_init_fn static_init[] = { STATIC_process_model_MODULES };
+ samba_module_init_fn *shared_init;
static bool initialised;
if (initialised) {
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 1da472155d..abc662de79 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -292,8 +292,8 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
poptContext pc;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_service_MODULES_PROTO;
- samba_init_module_fn static_init[] = { STATIC_service_MODULES };
- samba_init_module_fn *shared_init;
+ samba_module_init_fn static_init[] = { STATIC_service_MODULES };
+ samba_module_init_fn *shared_init;
struct tevent_context *event_ctx;
uint16_t stdin_event_flags;
NTSTATUS status;