![Nigel Croxon](/assets/img/avatar_default.png)
Patch to allow gcc to emit warnings for unsafe usage of setjmp/long Signed-off-by: David Decotigny <gdaviddecotigny@users.sf.net> Signed-off-by: Nigel Croxon <noxorc@mac.com>
11 lines
276 B
C
11 lines
276 B
C
#ifndef GNU_EFI_SETJMP_H
|
|
#define GNU_EFI_SETJMP_H
|
|
|
|
#include "eficompiler.h"
|
|
#include "efisetjmp_arch.h"
|
|
|
|
extern UINTN setjmp(jmp_buf *env) __attribute__((returns_twice));
|
|
extern VOID longjmp(jmp_buf *env, UINTN value) __attribute__((noreturn));
|
|
|
|
#endif /* GNU_EFI_SETJMP_H */
|