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>
This commit is contained in:
Mahesh Bodapati 2023-02-13 11:23:19 -06:00 committed by Rajalakshmi Srinivasaraghavan
parent 3e35b824a4
commit 000ca24f80

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