1 /* 2 * setjmp/longjmp prototypes 3 * 4 * This code is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU Library General Public License version 2. 6 */ 7 #ifndef _LIBCFLAT_SETJMP_H_ 8 #define _LIBCFLAT_SETJMP_H_ 9 10 typedef struct jmp_buf_tag { 11 long int regs[8]; 12 } jmp_buf[1]; 13 14 extern int setjmp (struct jmp_buf_tag env[1]); 15 extern void longjmp (struct jmp_buf_tag env[1], int val) 16 __attribute__ ((__noreturn__)); 17 18 #endif /* setjmp.h */ 19