summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Drahoš <drahosp@gmail.com>2013-04-01 14:42:54 +0200
committerPeter Drahoš <drahosp@gmail.com>2013-04-01 14:42:54 +0200
commitea6bcae8119c8c4a42003baeaadf3c14c00aadd0 (patch)
tree29a7b7313752a52ce803ecd78cf1d0d26f154240
parenteb0e9be8bd00ffd814da0fba9786df5d844d3e98 (diff)
downloadlua-ea6bcae8119c8c4a42003baeaadf3c14c00aadd0.tar.gz
Fix declaration
-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 b503740..878bdb4 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 char* setprogdir () {
+static void setprogdir() {
char progdir[_PATH_MAX + 1];
char *lb;
int nsize = sizeof(progdir)/sizeof(char);