From 00ba784a2ce95e009f98e0e6d263634673a3f2e1 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 3 Nov 2020 10:38:16 +0100 Subject: Fix another implicit function declaration in configure As mentioned on bug #80171. This one is in libtool.m4, might get lost on libtool updates. --- build/libtool.m4 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'build') diff --git a/build/libtool.m4 b/build/libtool.m4 index f7f5164292..099a879935 100644 --- a/build/libtool.m4 +++ b/build/libtool.m4 @@ -978,10 +978,6 @@ else # endif #endif -#ifdef __cplusplus -extern "C" void exit (int); -#endif - void fnord() { int i=42;} int main () { @@ -997,7 +993,7 @@ int main () else puts (dlerror ()); - exit (status); + return (status); }] EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then -- cgit v1.2.1