diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-11-06 23:23:15 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2004-11-06 23:23:15 +0000 |
commit | 9adb1199172af35ea0c7c8ed1d8bd0d4ece41fd9 (patch) | |
tree | 29f830f53629cd6c5c6d3866819fd1638387aed7 /source/lib/socket/socket_unix.c | |
parent | 1ff3fe0fc89d477d3325d85b9568d730970c4c79 (diff) | |
download | samba-9adb1199172af35ea0c7c8ed1d8bd0d4ece41fd9.tar.gz samba-9adb1199172af35ea0c7c8ed1d8bd0d4ece41fd9.tar.xz samba-9adb1199172af35ea0c7c8ed1d8bd0d4ece41fd9.zip |
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
Diffstat (limited to 'source/lib/socket/socket_unix.c')
-rw-r--r-- | source/lib/socket/socket_unix.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/lib/socket/socket_unix.c b/source/lib/socket/socket_unix.c index 0ba4797219c..e35453e6e0e 100644 --- a/source/lib/socket/socket_unix.c +++ b/source/lib/socket/socket_unix.c @@ -273,8 +273,3 @@ const struct socket_ops *socket_unixdom_ops(void) { return &unixdom_ops; } - -NTSTATUS socket_unixdom_init(void) -{ - return NT_STATUS_OK; -} |