summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-03-02 15:21:19 +0100
committerHeinrich Schuchardt <[email protected]>2025-03-10 07:41:16 +0100
commit7082c9e656a824ecf5dfc2d59d2ce17f730c5d4a (patch)
tree5eaf26831abdc206e42a673028d6e7b924b0b494 /test/lib
parent8aa1d810e2d346a1874bf3e6ec8d9301fd1778fe (diff)
common: clean up setjmp.h
Separate setjmp.h into an architecture independent part and an architecture specific part. This simplifies moving from using struct jmp_buf_data directly to using type jmp_buf in our code which is the C compliant way. Reviewed-by: Jerome Forissier <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/longjmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/longjmp.c b/test/lib/longjmp.c
index 79d889bdd5f..74c3465b8c2 100644
--- a/test/lib/longjmp.c
+++ b/test/lib/longjmp.c
@@ -5,10 +5,10 @@
* Copyright (c) 2021, Heinrich Schuchardt <[email protected]>
*/
+#include <setjmp.h>
#include <test/lib.h>
#include <test/test.h>
#include <test/ut.h>
-#include <asm/setjmp.h>
struct test_jmp_buf {
jmp_buf env;