]> sourceware.org Git - glibc.git/commitdiff
Naming the parameter of dummy_sa_handler
authorMahesh Bodapati <bmahi496@linux.ibm.com>
Mon, 13 Feb 2023 17:23:19 +0000 (11:23 -0600)
committerRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
Mon, 13 Feb 2023 17:23:19 +0000 (11:23 -0600)
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>
posix/tst-spawn7.c

index a1c0d9d942079778e4d19b137c680914214a16d8..fedb09fb944ec0363dec2f99af78d3e13f458b07 100644 (file)
@@ -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)
 {
 }
 
This page took 0.043642 seconds and 5 git commands to generate.