setjmp: make setjmp a macro

This commit is contained in:
Lephenixnoir 2021-05-16 18:01:55 +02:00
parent 4933d9c19f
commit c88b31ec94
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -17,6 +17,9 @@ typedef struct __jmp_buf jmp_buf[1];
*/
extern int setjmp(jmp_buf env);
/* Standard requires setjmp to be a macro (7.13§1) */
#define setjmp setjmp
/*
** Store the calling environment in ENV, not saving the signal mask.
** Return 0.