1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

r11653: Declare the correct return value for the static initialization functions.

Some compilers (guess whose) have ABIs that return int values using a
different method than returning struct values.
(This used to be commit 6bf4d88ab584315312934c9866128fb47f8b41e6)
This commit is contained in:
Paul Green 2005-11-10 20:32:00 +00:00 committed by Gerald (Jerry) Carter
parent ce0a1fa159
commit 6fdfa210de

2
source3/aclocal.m4 vendored
View File

@ -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]) $1_init();"
[init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z]) NTSTATUS $1_init();"
string_static_modules="$string_static_modules $1"
$4_STATIC="$$4_STATIC $2"
AC_SUBST($4_STATIC)