Antonio Nino Diaz | a884dfb | 2019-02-08 13:20:37 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef SETJMP_H |
| 8 | #define SETJMP_H |
| 9 | |
| 10 | #include <setjmp_.h> |
| 11 | |
Julius Werner | 53456fc | 2019-07-09 13:49:11 -0700 | [diff] [blame] | 12 | #ifndef __ASSEMBLER__ |
Antonio Nino Diaz | a884dfb | 2019-02-08 13:20:37 +0000 | [diff] [blame] | 13 | |
| 14 | #include <cdefs.h> |
| 15 | |
| 16 | int setjmp(jmp_buf env); |
| 17 | __dead2 void longjmp(jmp_buf env, int val); |
| 18 | |
Julius Werner | 53456fc | 2019-07-09 13:49:11 -0700 | [diff] [blame] | 19 | #endif /* __ASSEMBLER__ */ |
Antonio Nino Diaz | a884dfb | 2019-02-08 13:20:37 +0000 | [diff] [blame] | 20 | #endif /* SETJMP_H */ |