1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r11658: Someone broke the initialization of the static modules by adding a 'NTSTATUS'

declaration before their call.
The compiler sees : { NTSTATUS fn_foo(); NT_STATUS fn_bar(); }
as *definitions: They need to be : { fn_foo(); fn_bar(); }
Jeremy.
(This used to be commit 1c5a3c51e36d228442b74d9221d3ed8a13a1c513)
This commit is contained in:
Jeremy Allison 2005-11-11 00:16:43 +00:00 committed by Gerald (Jerry) Carter
parent 5a06869da7
commit 2a7ce639eb

2
source3/aclocal.m4 vendored
View File

@ -56,7 +56,7 @@ AC_DEFUN(SMB_MODULE,
[$6]
string_shared_modules="$string_shared_modules $1"
elif test x"$DEST" = xSTATIC; then
[init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z]) NTSTATUS $1_init();"
[init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z]) $1_init();"
string_static_modules="$string_static_modules $1"
$4_STATIC="$$4_STATIC $2"
AC_SUBST($4_STATIC)