about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorMahesh Bodapati <bmahi496@linux.ibm.com>2023-02-13 11:23:19 -0600
committerRajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>2023-02-13 11:23:19 -0600
commit000ca24f807762a1fa6bf076d80f152d2512f17d (patch)
tree8e7ead2b780fdca83d68b83c6719c31ad5f922f5 /posix
parent3e35b824a4dc0f6b67a7edaf4962e7492aed9d4f (diff)
downloadglibc-000ca24f807762a1fa6bf076d80f152d2512f17d.tar.gz
glibc-000ca24f807762a1fa6bf076d80f152d2512f17d.tar.xz
glibc-000ca24f807762a1fa6bf076d80f152d2512f17d.zip
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>
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-spawn7.c2
1 files changed, 1 insertions, 1 deletions
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)
 {
 }