public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Rajalakshmi Srinivasaraghavan <raji@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] Naming the parameter of dummy_sa_handler Date: Mon, 13 Feb 2023 17:33:10 +0000 (GMT) [thread overview] Message-ID: <20230213173310.95B6F385B52B@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=000ca24f807762a1fa6bf076d80f152d2512f17d commit 000ca24f807762a1fa6bf076d80f152d2512f17d Author: Mahesh Bodapati <bmahi496@linux.ibm.com> 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 <adhemerval.zanella@linaro.org> 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) { }
reply other threads:[~2023-02-13 17:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230213173310.95B6F385B52B@sourceware.org \ --to=raji@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).