diff --git a/modules/cache/mod_file_cache.c b/modules/cache/mod_file_cache.c index 4199361861..ce1db2d2c9 100644 --- a/modules/cache/mod_file_cache.c +++ b/modules/cache/mod_file_cache.c @@ -380,7 +380,7 @@ static int file_cache_handler(request_rec *r) return rc; } -static command_rec file_cache_cmds[] = +static const command_rec file_cache_cmds[] = { AP_INIT_ITERATE("cachefile", cachefilehandle, NULL, RSRC_CONF, "A space separated list of files to add to the file handle cache at config time"), diff --git a/modules/lua/mod_lua.c b/modules/lua/mod_lua.c index 2790a47cc5..b70ecd323e 100644 --- a/modules/lua/mod_lua.c +++ b/modules/lua/mod_lua.c @@ -1853,7 +1853,7 @@ static const char *register_authz_provider(cmd_parms *cmd, void *_cfg, } -command_rec lua_commands[] = { +static const command_rec lua_commands[] = { AP_INIT_TAKE1("LuaRoot", register_lua_root, NULL, OR_ALL, "Specify the base path for resolving relative paths for mod_lua directives"),