Stripped down the library to something approaching the ANSI C minimum and replaced most of the header files, to provide a reasonably consistent base to work up from.
This commit is contained in:
@@ -25,15 +25,9 @@ typedef struct {
|
||||
void *__lb;
|
||||
} jmp_buf[1];
|
||||
|
||||
int __setjmp(jmp_buf _env, int _savemask);
|
||||
extern int __setjmp(jmp_buf _env, int _savemask);
|
||||
|
||||
#define setjmp(env) __setjmp(env, 0)
|
||||
void longjmp(jmp_buf _env, int _val);
|
||||
|
||||
#if defined(_POSIX_SOURCE)
|
||||
typedef jmp_buf sigjmp_buf;
|
||||
#define sigsetjmp(env, savemask) __setjmp(env, savemask)
|
||||
int siglongjmp(sigjmp_buf _env, int _val);
|
||||
#endif
|
||||
extern void longjmp(jmp_buf _env, int _val);
|
||||
|
||||
#endif /* _SETJMP_H */
|
||||
|
||||
Reference in New Issue
Block a user