diff options
Diffstat (limited to 'player/lua.c')
-rw-r--r-- | player/lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua.c b/player/lua.c index 689be1896b..1da26f9f2b 100644 --- a/player/lua.c +++ b/player/lua.c @@ -49,7 +49,7 @@ // List of builtin modules and their contents as strings. // All these are generated from player/lua/*.lua -static const char *builtin_lua_scripts[][2] = { +static const char * const builtin_lua_scripts[][2] = { {"mp.defaults", # include "player/lua/defaults.inc" }, @@ -1106,7 +1106,7 @@ static const struct fn_entry main_fns[] = { {0} }; -static struct fn_entry utils_fns[] = { +static const struct fn_entry utils_fns[] = { FN_ENTRY(readdir), FN_ENTRY(split_path), FN_ENTRY(join_path), |