public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Naming the parameter of dummy_sa_handler
@ 2023-02-13 17:33 Rajalakshmi Srinivasaraghavan
  0 siblings, 0 replies; only message in thread
From: Rajalakshmi Srinivasaraghavan @ 2023-02-13 17:33 UTC (permalink / raw)
  To: glibc-cvs

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)
 {
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-13 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-13 17:33 [glibc] Naming the parameter of dummy_sa_handler Rajalakshmi Srinivasaraghavan

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).