From 2a7ce639eba133020dc8cbb1346e7d0a53c31a21 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 11 Nov 2005 00:16:43 +0000 Subject: 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) --- source3/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/aclocal.m4 b/source3/aclocal.m4 index 7c76549dd9..86c43f80dc 100644 --- a/source3/aclocal.m4 +++ b/source3/aclocal.m4 @@ -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) -- cgit