]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Port to compilers that moan about K&R func decls
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 1 Sep 2022 21:19:50 +0000 (16:19 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 2 Sep 2022 17:09:32 +0000 (12:09 -0500)
commit8b5e2016c7ed2d67f31b03a3d2e361858ff5299b
treefa240e0ed35eafdf046380604dbfd6ea07cd5ac4
parent0a647a93cb3d966671bb45effbce21fdf2a36789
Port to compilers that moan about K&R func decls

* lib/autoconf/c.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
Use '(void)' rather than '()' in function prototypes, as the latter
provokes fatal errors in some compilers nowadays.
* lib/autoconf/functions.m4 (AC_FUNC_STRTOD):
* tests/fortran.at (AC_F77_DUMMY_MAIN usage):
* tests/semantics.at (AC_CHECK_DECLS):
Don’t use () in a function decl.
doc/autoconf.texi
lib/autoconf/c.m4
lib/autoconf/functions.m4
tests/fortran.at
tests/semantics.at