arduino-esp32/tools/sdk/include/newlib/setjmp.h

28 lines
418 B
C
Raw Normal View History

2016-10-06 13:21:30 +02:00
/*
setjmp.h
stubs for future use.
*/
#ifndef _SETJMP_H_
#define _SETJMP_H_
#include "_ansi.h"
#include <machine/setjmp.h>
_BEGIN_STD_C
#ifdef __GNUC__
void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval))
__attribute__ ((__noreturn__));
#else
void _EXFUN(longjmp,(jmp_buf __jmpb, int __retval));
#endif
int _EXFUN(setjmp,(jmp_buf __jmpb));
#define setjmp(env) setjmp(env)
_END_STD_C
#endif /* _SETJMP_H_ */