gnu-efi/inc/efisetjmp.h
Nigel Croxon 4d326eae7d Allow gcc to emit warnings for unsafe usage of setjmp/longjmp
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>
2017-01-08 07:11:24 -05:00

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 */