mirror of
https://github.com/samba-team/samba.git
synced 2025-11-13 08:23:49 +03:00
r3586: Fix some of the issues with the module init functions.
Both subsystems and modules can now have init functions, which can be specified in .mk files (INIT_FUNCTION = ...) The build system will define : - SUBSYSTEM_init_static_modules that calls the init functions of all statically compiled modules. Failing to load will generate an error which is not fatal - BINARY_init_subsystems that calls the init functions (if defined) for the subsystems the binary depends on This removes the hack with the "static bool Initialised = " and the "lazy_init" functions
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9701abfa3a
commit
7a8244761b
@@ -336,8 +336,3 @@ const struct socket_ops *socket_ipv4_ops(void)
|
||||
{
|
||||
return &ipv4_tcp_ops;
|
||||
}
|
||||
|
||||
NTSTATUS socket_ipv4_init(void)
|
||||
{
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user