diff -r 4feced261c68 -r de822cd3df3a misc/liblua/loadlib.c --- a/misc/liblua/loadlib.c Tue Jan 21 22:38:13 2014 +0100 +++ b/misc/liblua/loadlib.c Tue Jan 21 22:43:06 2014 +0100 @@ -23,23 +23,23 @@ /* prefix for open functions in C libraries */ -#define LUA_POF "luaopen_" +#define LUA_POF "luaopen_" /* separator for open functions in C libraries */ -#define LUA_OFSEP "_" +#define LUA_OFSEP "_" -#define LIBPREFIX "LOADLIB: " +#define LIBPREFIX "LOADLIB: " -#define POF LUA_POF -#define LIB_FAIL "open" +#define POF LUA_POF +#define LIB_FAIL "open" /* error codes for ll_loadfunc */ -#define ERRLIB 1 -#define ERRFUNC 2 +#define ERRLIB 1 +#define ERRFUNC 2 -#define setprogdir(L) ((void)0) +#define setprogdir(L) ((void)0) static void ll_unloadlib (void *lib); @@ -153,7 +153,7 @@ /* Mac appends a `_' before C function names */ #undef POF -#define POF "_" LUA_POF +#define POF "_" LUA_POF static void pusherror (lua_State *L) { @@ -230,10 +230,10 @@ */ #undef LIB_FAIL -#define LIB_FAIL "absent" +#define LIB_FAIL "absent" -#define DLMSG "dynamic libraries not enabled; check your Lua installation" +#define DLMSG "dynamic libraries not enabled; check your Lua installation" static void ll_unloadlib (void *lib) { @@ -445,7 +445,7 @@ static const int sentinel_ = 0; -#define sentinel ((void *)&sentinel_) +#define sentinel ((void *)&sentinel_) static int ll_require (lua_State *L) { @@ -587,7 +587,7 @@ /* auxiliary mark (for internal use) */ -#define AUXMARK "\1" +#define AUXMARK "\1" static void setpath (lua_State *L, const char *fieldname, const char *envname, const char *def) {