diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2020-09-27 09:52:55 +0200 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2020-09-27 09:52:55 +0200 |
commit | 242d34175697d7cc185d3a2c4ffbae7a9ddba06b (patch) | |
tree | 95c710a08e40b2faa76eee86a0145df5936f5a53 | |
parent | mod_proxy: Add support for an optional third argument to ProxyRemote* (diff) | |
download | apache2-242d34175697d7cc185d3a2c4ffbae7a9ddba06b.tar.xz apache2-242d34175697d7cc185d3a2c4ffbae7a9ddba06b.zip |
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
-rw-r--r-- | modules/cache/mod_file_cache.c | 2 | ||||
-rw-r--r-- | modules/lua/mod_lua.c | 2 |
2 files changed, 2 insertions, 2 deletions
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"), |