luacrypto icon indicating copy to clipboard operation
luacrypto copied to clipboard

I got an error for luacrypto.c

Open cryptid11 opened this issue 9 years ago • 18 comments

https://github.com/mkottman/luacrypto/blob/master/src/lcrypto.c

When I compile using that library I get:

gcc -O2 -fPIC -I/usr/include -c src/lcrypto.c -o src/lcrypto.o -I/usr/include In file included from src/lcrypto.c:31:0: src/lcrypto.c:38:13: error: expected declaration specifiers or ‘...’ before ‘(’ token static void luaL_register (lua_State *L, const char *libname, const luaL_Reg *l)

cryptid11 avatar Apr 15 '15 09:04 cryptid11