]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Change main () to main (void) for C/C++
authorVincent Lefevre <vincent@vinc17.net>
Sun, 5 Jan 2014 03:50:02 +0000 (04:50 +0100)
committerEric Blake <eblake@redhat.com>
Thu, 13 Feb 2014 18:38:12 +0000 (11:38 -0700)
commit1717921aa6c1ef559ef494675f6d1b20c2ae389e
tree84e7a1c65887b005c467b7614008046b16e3a24e
parente5d3c9621fbd23c5e2d62fdb19534ed1b5f3ab09
Change main () to main (void) for C/C++

This patch changes "main ()" to "main (void)" for C/C++.
See: http://lists.gnu.org/archive/html/bug-autoconf/2014-01/msg00005.html

On my machine, before this patch, 3 tests were failing:

  38: tools.at:1329      autom4te cache locking
 218: autotest.at:1893   C unit tests
      ac_config_testdir at_tested autotest
 219: autotest.at:1948   C unit tests (EXEEXT)
      ac_config_testdir at_tested autotest

With this patch, 2 tests were failing:

 218: autotest.at:1893   C unit tests
      ac_config_testdir at_tested autotest
 219: autotest.at:1948   C unit tests (EXEEXT)
      ac_config_testdir at_tested autotest

(I suspect that 38 is unrelated.)

Signed-off-by: Vincent Lefevre <vincent@vinc17.net>
Copyright-paperwork-exempt: Yes
doc/autoconf.texi
lib/autoconf/c.m4
lib/autoconf/functions.m4
lib/autoconf/specific.m4
lib/autoconf/types.m4
tests/c.at
tests/compile.at