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

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)
This commit is contained in:
Jeremy Allison 2006-04-29 23:33:39 +00:00 committed by Gerald (Jerry) Carter
parent 60af4023ad
commit f3dc7aae4d

2
source3/aclocal.m4 vendored
View 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)