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:
parent
ce0a1fa159
commit
6fdfa210de
2
source3/aclocal.m4
vendored
2
source3/aclocal.m4
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user