1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-10 15:40:30 +00:00

Fix redefinition.

This commit is contained in:
Calvin Rose 2019-06-02 20:09:16 -04:00
parent 13667292c6
commit c21eaa5474

View File

@ -238,9 +238,9 @@ typedef struct {
#include <stdio.h> #include <stdio.h>
/* Names of all of the types */ /* Names of all of the types */
extern const char *const janet_type_names[16]; JANET_API const char *const janet_type_names[16];
extern const char *const janet_signal_names[14]; JANET_API const char *const janet_signal_names[14];
extern const char *const janet_status_names[16]; JANET_API const char *const janet_status_names[16];
/* Fiber signals */ /* Fiber signals */
typedef enum { typedef enum {
@ -1261,9 +1261,6 @@ JANET_API int janet_verify(JanetFuncDef *def);
/* Pretty printing */ /* Pretty printing */
#define JANET_PRETTY_COLOR 1 #define JANET_PRETTY_COLOR 1
JANET_API JanetBuffer *janet_pretty(JanetBuffer *buffer, int depth, int flags, Janet x); JANET_API JanetBuffer *janet_pretty(JanetBuffer *buffer, int depth, int flags, Janet x);
JANET_API const char *const janet_type_names[16];
JANET_API const char *const janet_signal_names[14];
JANET_API const char *const janet_status_names[16];
/* Misc */ /* Misc */
JANET_API int janet_equals(Janet x, Janet y); JANET_API int janet_equals(Janet x, Janet y);