svn commit: samba r11654 - in trunk/source: .
paulg at samba.org
paulg at samba.org
Thu Nov 10 20:33:33 GMT 2005
Author: paulg
Date: 2005-11-10 20:33:32 +0000 (Thu, 10 Nov 2005)
New Revision: 11654
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11654
Log:
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.
Modified:
trunk/source/aclocal.m4
Changeset:
Modified: trunk/source/aclocal.m4
===================================================================
--- trunk/source/aclocal.m4 2005-11-10 20:32:00 UTC (rev 11653)
+++ trunk/source/aclocal.m4 2005-11-10 20:33:32 UTC (rev 11654)
@@ -56,7 +56,7 @@
[$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)
More information about the samba-cvs
mailing list