Small portability compile fixes in headers

This commit is contained in:
mcc 2019-01-14 15:50:51 -05:00 committed by Bjorn Swenson
parent 27000d2238
commit d8147dd67d
2 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@
#define __SDS_H
#define SDS_MAX_PREALLOC (1024*1024)
const char *SDS_NOINIT;
extern const char *SDS_NOINIT;
#include <sys/types.h>
#include <stdarg.h>

View File

@ -19,6 +19,7 @@ void* _luax_totype(lua_State* L, int index, const char* type);
void* _luax_checktype(lua_State* L, int index, const char* type);
void luax_pushobject(lua_State* L, void* object);
void luax_vthrow(lua_State* L, const char* format, va_list args);
void luax_traceback(lua_State* L, lua_State* T, const char* message, int level);
int luax_getstack(lua_State* L);
int luax_getstack_panic(lua_State *L);
void luax_pushconf(lua_State* L);