Subject: [PATCH 0/2] Port tests to modern C

From: Frederic Berat <[email-masked]>
Date: Mon, 12 Dec 2022 08:05:52 +0100

Hello,

There is ongoing work from both GCC and Clang community to set the C99 standard
as the default one, in an effort to improve security overall.
In this context, Fedora packages were rebuilt with some warnings turned as
errors to simulate the change. This leads to failures in Automake, that are
attempted to be fixed, mainly in this patchset.

Another patch dedicated to Flex related tests will follow.

Fred.

---
Frédéric Bérat (2):
  tests: Fix 'type defaults' error in link_cond due to main not being
    properly declared
  tests: Fix implicit function declaration errors

 t/ax/depcomp.sh              |  4 ++--
 t/c-demo.sh                  |  1 +
 t/cond35.sh                  |  2 ++
 t/dist-vs-built-sources.sh   |  1 +
 t/lex-clean.sh               |  1 +
 t/lex-multiple.sh            |  4 ++++
 t/lex-nodist.sh              |  2 ++
 t/link_cond.sh               |  2 +-
 t/ltcond2.sh                 |  2 ++
 t/ltconv.sh                  |  6 ++++++
 t/subobj-clean-lt-pr10697.sh | 10 +++++++++-
 t/subobj-clean-pr10697.sh    | 10 +++++++++-
 t/tags-pr12372.sh            |  3 ++-
 t/yacc-basic.sh              |  1 +
 t/yacc-clean.sh              |  4 ++++
 t/yacc-nodist.sh             |  2 ++
 16 files changed, 49 insertions(+), 6 deletions(-)

-- 
2.38.1