[PATCH 1/8] fixup! ARM: asm: setjmp: implement coroutine dependency initjmp()

Ahmad Fatoum ahmad at a3f.at
Wed Mar 17 10:46:36 GMT 2021


Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
 arch/arm/include/asm/setjmp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/setjmp.h b/arch/arm/include/asm/setjmp.h
index 4877e4312411..0cee5bfdda60 100644
--- a/arch/arm/include/asm/setjmp.h
+++ b/arch/arm/include/asm/setjmp.h
@@ -26,6 +26,6 @@ typedef struct jmp_buf_data jmp_buf[1];
 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 /* _SETJMP_H_ */
-- 
2.30.0




More information about the barebox mailing list