summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2013-04-01 14:44:29 +0200
committerPeter Drahoš <drahosp@gmail.com>2013-04-01 14:44:29 +0200
commit8a4ca5178da6a90173fd0858a64e4ae3218473c5 (patch)
treee3a69aa9851cc27b9c64333660c377a7d3fe619c
parentea6bcae8119c8c4a42003baeaadf3c14c00aadd0 (diff)
downloadlua-8a4ca5178da6a90173fd0858a64e4ae3218473c5.tar.gz
Fix declaration again
-rw-r--r--src/loadlib_rel.c2
1 files changed, 1 insertions, 1 deletions
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 <sys/sysctl.h>
#endif
-static void setprogdir() {
+static void setprogdir(lua_State *L) {
char progdir[_PATH_MAX + 1];
char *lb;
int nsize = sizeof(progdir)/sizeof(char);