mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 09:47:17 +00:00
Fix warnings on BSDs.
This commit is contained in:
parent
099a957e6c
commit
a964a95c1e
@ -256,6 +256,11 @@ typedef struct {
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifdef JANET_BSD
|
||||||
|
int _setjmp(jmp_buf);
|
||||||
|
JANET_NO_RETURN void _longjmp(jmp_buf, int);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Names of all of the types */
|
/* Names of all of the types */
|
||||||
JANET_API extern const char *const janet_type_names[16];
|
JANET_API extern const char *const janet_type_names[16];
|
||||||
JANET_API extern const char *const janet_signal_names[14];
|
JANET_API extern const char *const janet_signal_names[14];
|
||||||
|
Loading…
Reference in New Issue
Block a user