]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: Fix 'type defaults' error in link_cond due to main not being properly declared
authorFrédéric Bérat <fberat@redhat.com>
Mon, 12 Dec 2022 07:05:53 +0000 (08:05 +0100)
committerMike Frysinger <vapier@gentoo.org>
Fri, 13 Jan 2023 06:32:02 +0000 (01:32 -0500)
commit2a9908da9dbc075ee6c4e853cf3be0365b15f202
tree1e7962dbc13a1da09e2184328752484d08d1b987
parent55f8fcfd08cbf15d65d61dd2db934b6c3171cf06
tests: Fix 'type defaults' error in link_cond due to main not being properly declared

This is related to an effort to prepare Automake for future GCC/Clang
versions which set c99 as default standard to be used.
Not properly declaring main as "int main(...)" is rejected since c99.

* t/link_cond.sh: Add (void) to main definition.
t/link_cond.sh