From: MAHESH BODAPATI <bmahi496@linux.ibm.com>
To: libc-alpha@sourceware.org
Cc: Mahesh Bodapati <mahesh.bodapati@ibm.com>
Subject: [PATCH] Naming the parameter of dummy_sa_handler
Date: Mon, 13 Feb 2023 09:07:03 -0600 [thread overview]
Message-ID: <20230213150703.2638293-1-bmahi496@linux.ibm.com> (raw)
From: Mahesh Bodapati <mahesh.bodapati@ibm.com>
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"
---
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)
{
}
--
2.31.1
next reply other threads:[~2023-02-13 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-13 15:07 MAHESH BODAPATI [this message]
2023-02-13 16:22 ` Adhemerval Zanella Netto
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=20230213150703.2638293-1-bmahi496@linux.ibm.com \
--to=bmahi496@linux.ibm.com \
--cc=libc-alpha@sourceware.org \
--cc=mahesh.bodapati@ibm.com \
/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: link
Be 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).