diff options
author | Jeremy Allison <jra@samba.org> | 2005-11-11 00:16:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:23 -0500 |
commit | 2a7ce639eba133020dc8cbb1346e7d0a53c31a21 (patch) | |
tree | c5e2d52345e94a42b0f23cac34f9773c6e0c9dca /source3 | |
parent | 5a06869da700261b97c62b20802f17cf5277cba8 (diff) | |
download | samba-2a7ce639eba133020dc8cbb1346e7d0a53c31a21.tar.gz samba-2a7ce639eba133020dc8cbb1346e7d0a53c31a21.tar.bz2 samba-2a7ce639eba133020dc8cbb1346e7d0a53c31a21.zip |
r11658: Someone broke the initialization of the static modules by adding a 'NTSTATUS'
declaration before their call.
The compiler sees : { NTSTATUS fn_foo(); NT_STATUS fn_bar(); }
as *definitions: They need to be : { fn_foo(); fn_bar(); }
Jeremy.
(This used to be commit 1c5a3c51e36d228442b74d9221d3ed8a13a1c513)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4 index 7c76549dd9..86c43f80dc 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]) NTSTATUS $1_init();" + [init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z]) $1_init();" string_static_modules="$string_static_modules $1" $4_STATIC="$$4_STATIC $2" AC_SUBST($4_STATIC) |