From 8a4ca5178da6a90173fd0858a64e4ae3218473c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Drahos=CC=8C?= Date: Mon, 1 Apr 2013 14:44:29 +0200 Subject: Fix declaration again --- src/loadlib_rel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loadlib_rel.c b/src/loadlib_rel.c index 878bdb4..25525a9 100644 --- a/src/loadlib_rel.c +++ b/src/loadlib_rel.c @@ -137,7 +137,7 @@ static void setprogdir (lua_State *L); #include #endif -static void setprogdir() { +static void setprogdir(lua_State *L) { char progdir[_PATH_MAX + 1]; char *lb; int nsize = sizeof(progdir)/sizeof(char); -- cgit v1.2.1