psxclassic01/init.c: Address missing field initializer warning (siginfo)

This one a siginfo_t declaration with initialization.  The initialization
was changed to using named fields.

Updates #5325.
This commit is contained in:
Joel Sherrill
2025-10-14 14:28:27 -05:00
parent 1d08df678b
commit 5c24413f4d

View File

@@ -50,7 +50,10 @@
const char rtems_test_name[] = "PSXCLASSIC 1";
static int Caught_signo = -1;
static siginfo_t Caught_siginfo = { -1, -1, };
static siginfo_t Caught_siginfo = {
.si_signo = -1,
.si_code = -1
};
static void handler(int signo)
{