From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id BB5323858032; Thu, 9 Feb 2023 19:54:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB5323858032 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675972484; bh=XAjaTIvaiQ4gs7YJOJggDkzoL/r/7u0ll8jBXuE/WTo=; h=From:To:Subject:Date:From; b=jX3x3jjGlmjlEmmLfLGHYFFAnDwxcSeqwCcrDG0iU3oS+YLehroRGuzP4yQFqUQqs MbB+xkFn/D09ycDGnYCp8dnuohpGA9OvFwi18BnMZJa04Ih3IMHDIkMT2T6uxX4rx8 xcjMF6vvDImZtzMArZC6x71AKBVEfqeJvnDtkWN0= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] posix: Fix posix/tst-spawn7.c dummy_sa_handler declaration X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: dbe213c564a4c0755f6b106c2b596ff46c7bf75e X-Git-Newrev: 9c00fde28ab65a748385ed03ce578e44d2fcd921 Message-Id: <20230209195444.BB5323858032@sourceware.org> Date: Thu, 9 Feb 2023 19:54:44 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9c00fde28ab65a748385ed03ce578e44d2fcd921 commit 9c00fde28ab65a748385ed03ce578e44d2fcd921 Author: Adhemerval Zanella Date: Thu Feb 9 16:04:14 2023 -0300 posix: Fix posix/tst-spawn7.c dummy_sa_handler declaration Ommiting the parameter name is strickly only accepted in C2x, even though gnu11 accepts it. Diff: --- posix/tst-spawn7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posix/tst-spawn7.c b/posix/tst-spawn7.c index a1c0d9d942..354f122bd9 100644 --- a/posix/tst-spawn7.c +++ b/posix/tst-spawn7.c @@ -92,7 +92,7 @@ spawn_signal_test (const char *type, const posix_spawnattr_t *attr) } static void -dummy_sa_handler (int) +dummy_sa_handler (int sig) { }