public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] posix: Fix posix/tst-spawn7.c dummy_sa_handler declaration
@ 2023-02-09 19:54 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2023-02-09 19:54 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9c00fde28ab65a748385ed03ce578e44d2fcd921

commit 9c00fde28ab65a748385ed03ce578e44d2fcd921
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
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)
 {
 }

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

only message in thread, other threads:[~2023-02-09 19:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 19:54 [glibc/azanella/clang] posix: Fix posix/tst-spawn7.c dummy_sa_handler declaration Adhemerval Zanella

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