From f7b501c2dd7170d45f92a8678a84d2228cd9e6a4 Mon Sep 17 00:00:00 2001 From: rpm-build Date: Sun, 21 Jan 2024 19:29:25 +0100 Subject: [PATCH] Correct function prototype for signal handers in sgmls configure Content-type: text/plain This avoids altering the outcome of the checks with GCC 14 and Clang 16. Submitted upstream: --- sgmls-1.1/configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sgmls-1.1/configure b/sgmls-1.1/configure index e674d24..898b522 100755 --- a/sgmls-1.1/configure +++ b/sgmls-1.1/configure @@ -113,7 +113,7 @@ cat >doit.c <<\EOF #include #include -static int whoops() +static void whoops(int signo) { _exit(1); } @@ -459,7 +459,7 @@ cat >doit.c <<\EOF #include #include -static int whoops() +static void whoops(int signo) { _exit(1); } -- 2.43.0