Don't cast an initializer to the struct type in power_insn_available.c.

In C99 mode casting the initializer to the struct type will cause gcc
to report an error like:
power_insn_available.c:38:1: error: initializer element is not constant

Simply removing the unnecessary cast fixes this (and is also valid C90).
This commit is contained in:
Mark Wielaard 2018-01-18 11:28:11 +01:00
parent 29cc9fc0ed
commit 5a705cfa90

View File

@ -33,7 +33,7 @@ static void unsup_insn_handler(int signal_number)
longjmp(unsup_insn_env, 1);
return;
}
static struct sigaction unsup_insn_action = (struct sigaction) {
static struct sigaction unsup_insn_action = {
.sa_handler = &unsup_insn_handler,
};