r15333: Paulg broke the function prototyping of decl_static_XX.
authorJeremy Allison <jra@samba.org>
Sat, 29 Apr 2006 23:33:39 +0000 (23:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:16:35 +0000 (11:16 -0500)
Needs to be (void), not (). Paulg please check this.
Jeremy.
(This used to be commit ed0f36e2c2475bf9b8eb9c5d937799c85f32bd6f)

source3/aclocal.m4

index cb8c7f00e213c48939699e59ad7a45b3ee587854..91611233ca5b2685672001b2d772a497455a766d 100644 (file)
@@ -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)