summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorPaul Green <paulg@samba.org>2005-11-10 20:32:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:23 -0500
commit6fdfa210de8df93256bf983e3cff8778a8fd934d (patch)
treebb5831bb95881243873bceeb24cb6dbb8dbe6c96 /source3
parentce0a1fa159baab4c4bdaac601d0f56e29a406945 (diff)
downloadsamba-6fdfa210de8df93256bf983e3cff8778a8fd934d.tar.gz
samba-6fdfa210de8df93256bf983e3cff8778a8fd934d.tar.bz2
samba-6fdfa210de8df93256bf983e3cff8778a8fd934d.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index af93aa2368..7c76549dd9 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -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)