1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Add missing "const" or "static const" qualifiers in some command_rec

definitions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1882053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christophe Jaillet
2020-09-27 07:52:55 +00:00
parent c77e6abe3b
commit 242d341756
2 changed files with 2 additions and 2 deletions

View File

@@ -380,7 +380,7 @@ static int file_cache_handler(request_rec *r)
return rc; return rc;
} }
static command_rec file_cache_cmds[] = static const command_rec file_cache_cmds[] =
{ {
AP_INIT_ITERATE("cachefile", cachefilehandle, NULL, RSRC_CONF, AP_INIT_ITERATE("cachefile", cachefilehandle, NULL, RSRC_CONF,
"A space separated list of files to add to the file handle cache at config time"), "A space separated list of files to add to the file handle cache at config time"),

View File

@@ -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, AP_INIT_TAKE1("LuaRoot", register_lua_root, NULL, OR_ALL,
"Specify the base path for resolving relative paths for mod_lua directives"), "Specify the base path for resolving relative paths for mod_lua directives"),