Author: jra Date: 2005-11-11 00:16:43 +0000 (Fri, 11 Nov 2005) New Revision: 11658
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11658 Log: 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. Modified: branches/SAMBA_3_0/source/aclocal.m4 Changeset: Modified: branches/SAMBA_3_0/source/aclocal.m4 =================================================================== --- branches/SAMBA_3_0/source/aclocal.m4 2005-11-10 21:34:25 UTC (rev 11657) +++ branches/SAMBA_3_0/source/aclocal.m4 2005-11-11 00:16:43 UTC (rev 11658) @@ -56,7 +56,7 @@ [$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)