From: Jeremy Allison Date: Sat, 29 Apr 2006 23:33:39 +0000 (+0000) Subject: r15333: Paulg broke the function prototyping of decl_static_XX. X-Git-Tag: samba-4.0.0alpha6~801^2~8535 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3dc7aae4dbc14377de31a88880099cfdbda7673;p=thirdparty%2Fsamba.git r15333: Paulg broke the function prototyping of decl_static_XX. Needs to be (void), not (). Paulg please check this. Jeremy. (This used to be commit ed0f36e2c2475bf9b8eb9c5d937799c85f32bd6f) --- diff --git a/source3/aclocal.m4 b/source3/aclocal.m4 index cb8c7f00e21..91611233ca5 100644 --- a/source3/aclocal.m4 +++ b/source3/aclocal.m4 @@ -57,7 +57,7 @@ AC_DEFUN(SMB_MODULE, 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]) $1_init();" - [decl_static_modules_]translit([$4], [A-Z], [a-z])="$[decl_static_modules_]translit([$4], [A-Z], [a-z]) extern NTSTATUS $1_init();" + [decl_static_modules_]translit([$4], [A-Z], [a-z])="$[decl_static_modules_]translit([$4], [A-Z], [a-z]) extern NTSTATUS $1_init(void);" string_static_modules="$string_static_modules $1" $4_STATIC="$$4_STATIC $2" AC_SUBST($4_STATIC)