mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
LibC: jmp_buf and sigjmp_buf should be distinct types
This makes it possible to build 'vim' with more features enabled.
This commit is contained in:
parent
5eef2f78b0
commit
9c35feb14c
Notes:
sideshowbarker
2024-07-19 11:10:18 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9c35feb14cf
1 changed files with 3 additions and 2 deletions
|
@ -15,11 +15,12 @@ struct __jmp_buf {
|
|||
};
|
||||
|
||||
typedef struct __jmp_buf jmp_buf[1];
|
||||
typedef struct __jmp_buf sigjmp_buf[1];
|
||||
|
||||
int setjmp(jmp_buf);
|
||||
void longjmp(jmp_buf, int val);
|
||||
|
||||
int sigsetjmp(jmp_buf, int savesigs);
|
||||
void siglongjmp(jmp_buf, int val);
|
||||
int sigsetjmp(sigjmp_buf, int savesigs);
|
||||
void siglongjmp(sigjmp_buf, int val);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Reference in a new issue