summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-02-26 14:43:04 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-02-26 14:43:04 +0000
commitbca43e9f3a4a8726889b53e5ace1d686325d748f (patch)
treef60e4205f0907335078d3abe16f1686a509e7b39 /acinclude.m4
parent54b618f6192912c8596d1bf28966a2ecd24e0c2b (diff)
downloadmpfr-bca43e9f3a4a8726889b53e5ace1d686325d748f.tar.gz
[acinclude.m4] Replaced a "main()" (from the merge of r8245) by
"main (void)" (the other similar changes were done in r9418 for the 3.1 branch and r8728 in the trunk, which is why r8245 did not have this change). Useful to configure & build with -Werror (this needs a patched autoconf). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@10131 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 4639ced32..aaaefe715 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -434,7 +434,7 @@ then
#define MPFR_USE_THREAD_SAFE 1
#include "mpfr-thread.h"
MPFR_THREAD_ATTR int x = 17;
- int main() {
+ int main (void) {
return x != 17;
}
]])],