elua: fix warnings with -Wextra -Wshadow

This commit is contained in:
Daniel Kolesa 2014-06-10 15:36:07 +01:00
parent 8b1eabad3b
commit 319034d683
1 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ const luaL_reg gettextlib[] =
};
static void
print_help(const char *progname, FILE *stream)
print_help(const char *pname, FILE *stream)
{
fprintf(stream, "Usage: %s [OPTIONS] [SCRIPT [ARGS]]\n\n"
"A main entry for all EFL/LuaJIT powered applications.\n\n"
@ -383,7 +383,7 @@ print_help(const char *progname, FILE *stream)
" -e[CODE], --execute=[CODE] Execute string 'code'.\n"
" -l[LIBRARY], --library=[LIBRARY] Require library 'library'.\n"
" -I[DIR], --lib-dir=[DIR] Append an additional require path.\n"
" -E, --noenv Ignore environment variables.\n", progname);
" -E, --noenv Ignore environment variables.\n", pname);
}
static struct option lopt[] =