From 7178e11a49177bc35a6637dae0156748ff01d799 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 19 Mar 2003 20:19:47 +0000 Subject: It's init_module(), not module_init() as metze pointed out. I really thought I check this well enough :-/ (This used to be commit 730e2a093152c406923bd9e28339781564b0afac) --- docs/docbook/devdoc/modules.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/docbook/devdoc') diff --git a/docs/docbook/devdoc/modules.sgml b/docs/docbook/devdoc/modules.sgml index de43813410..99cba605bd 100644 --- a/docs/docbook/devdoc/modules.sgml +++ b/docs/docbook/devdoc/modules.sgml @@ -97,12 +97,12 @@ should check again if the module has been registered. Each module has an initialisation function. For modules that are -included with samba this name is 'subsystem_backend_init'. For external modules (that will never be built-in, but only available as a module) this name is always 'module_init'. (In the case of modules included with samba, the configure system will add a #define subsystem_backend_init() module_init()). +included with samba this name is 'subsystem_backend_init'. For external modules (that will never be built-in, but only available as a module) this name is always 'init_module'. (In the case of modules included with samba, the configure system will add a #define subsystem_backend_init() init_module()). The prototype for these functions is: -int module_init(void); +int init_module(void); This function should call one or more -- cgit