Subject: [bug#59991] [PATCH v2 0/3] Port tests to modern C

From: Frederic Berat <[email-masked]>
Date: Fri, 16 Dec 2022 07:17:16 +0100

From: Frédéric Bérat <[email-masked]>

Hello,

There is ongoing work from both GCC and Clang community to set the C99 standard
as the default one.
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.

Fred.

Changes from v1:
  - [PATCH 2/2] has been split in 2, in order to properly detail changes
    related to depcomp.sh. The code is untouched.

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

 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