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:
2
modules/cache/mod_file_cache.c
vendored
2
modules/cache/mod_file_cache.c
vendored
@@ -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"),
|
||||||
|
@@ -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"),
|
||||||
|
Reference in New Issue
Block a user