From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1969) id 95B6F385B52B; Mon, 13 Feb 2023 17:33:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 95B6F385B52B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676309590; bh=k8MkZC7WEXg98r7humk1FXoOs02UppeMWQiqOsixuvY=; h=From:To:Subject:Date:From; b=XoZCqLs/E/2Id505gR1AbBnjFwAdvVoAoIgW9xXx7s2R0QJi6HHFyIxoHkUDPM4JP xv7xmvHU6ydjlS691CjKpqMX1Sj4fZ2r1P3iaVArVOuAnxx/8uf5fQRXSwk98qhk6S 00jCnj22u4B4QrdCJDe7u1pjTzC9xeJIXYu05YpI= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Rajalakshmi Srinivasaraghavan To: glibc-cvs@sourceware.org Subject: [glibc] Naming the parameter of dummy_sa_handler X-Act-Checkin: glibc X-Git-Author: Mahesh Bodapati X-Git-Refname: refs/heads/master X-Git-Oldrev: 3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f X-Git-Newrev: 000ca24f807762a1fa6bf076d80f152d2512f17d Message-Id: <20230213173310.95B6F385B52B@sourceware.org> Date: Mon, 13 Feb 2023 17:33:10 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=000ca24f807762a1fa6bf076d80f152d2512f17d commit 000ca24f807762a1fa6bf076d80f152d2512f17d Author: Mahesh Bodapati Date: Mon Feb 13 11:23:19 2023 -0600 Naming the parameter of dummy_sa_handler ISO C does not support omitting parameter names in function definitions before C2X,the compiler is giving an error with older versions of gcc and this commit will resolve the test failure "error: parameter name omitted" Reviewed-by: Adhemerval Zanella 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..fedb09fb94 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 signal) { }