Signed-off-by: Ahmad Fatoum <[email protected]> --- arch/openrisc/include/asm/setjmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/openrisc/include/asm/setjmp.h b/arch/openrisc/include/asm/setjmp.h index 40f55b7eb594..ee73306d189d 100644 --- a/arch/openrisc/include/asm/setjmp.h +++ b/arch/openrisc/include/asm/setjmp.h @@ -12,6 +12,6 @@ typedef long int jmp_buf[13]; int setjmp(jmp_buf jmp) __attribute__((returns_twice)); void longjmp(jmp_buf jmp, int ret) __attribute__((noreturn)); -int initjmp(jmp_buf jmp, void __noreturn (*func)(void), void *stack_top); +int initjmp(jmp_buf jmp, void __attribute__((noreturn)) (*func)(void), void *stack_top); #endif /* _OR1K_BITS_SETJMP_H */ -- 2.30.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
