mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +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
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
Add a link
Reference in a new issue