projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e35b82
)
Naming the parameter of dummy_sa_handler
author
Mahesh Bodapati
<bmahi496@linux.ibm.com>
Mon, 13 Feb 2023 17:23:19 +0000
(11:23 -0600)
committer
Rajalakshmi 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
patch
|
blob
|
history
diff --git
a/posix/tst-spawn7.c
b/posix/tst-spawn7.c
index
a1c0d9d
..
fedb09f
100644
(file)
--- 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
)
{
}