mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user