diff options
author | Jeff Trawick <trawick@apache.org> | 2000-06-18 06:06:43 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-06-18 06:06:43 +0200 |
commit | ccdc88978f606ee0ff6d10583480641ec5a8d8f1 (patch) | |
tree | 05af15a67c168270df3cfc939fe95bc55927f1ae /modules/metadata/mod_setenvif.c | |
parent | Make unixd_config.user_name const char * instead of char * to avoid (diff) | |
download | apache2-ccdc88978f606ee0ff6d10583480641ec5a8d8f1.tar.xz apache2-ccdc88978f606ee0ff6d10583480641ec5a8d8f1.zip |
Use the new command-handler initializer macros in a few more modules,
cleaning up the resulting warnings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85607 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_setenvif.c')
-rw-r--r-- | modules/metadata/mod_setenvif.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/metadata/mod_setenvif.c b/modules/metadata/mod_setenvif.c index dec50c9e6d..829e7d3b1c 100644 --- a/modules/metadata/mod_setenvif.c +++ b/modules/metadata/mod_setenvif.c @@ -340,14 +340,14 @@ static const char *add_browser(cmd_parms *cmd, void *mconfig, const char *args) static const command_rec setenvif_module_cmds[] = { - { "SetEnvIf", add_setenvif, NULL, - OR_FILEINFO, RAW_ARGS, "A header-name, regex and a list of variables." }, - { "SetEnvIfNoCase", add_setenvif, ICASE_MAGIC, - OR_FILEINFO, RAW_ARGS, "a header-name, regex and a list of variables." }, - { "BrowserMatch", add_browser, NULL, - OR_FILEINFO, RAW_ARGS, "A browser regex and a list of variables." }, - { "BrowserMatchNoCase", add_browser, ICASE_MAGIC, - OR_FILEINFO, RAW_ARGS, "A browser regex and a list of variables." }, + AP_INIT_RAW_ARGS("SetEnvIf", add_setenvif, NULL, + OR_FILEINFO, "A header-name, regex and a list of variables."), + AP_INIT_RAW_ARGS("SetEnvIfNoCase", add_setenvif, ICASE_MAGIC, + OR_FILEINFO, "a header-name, regex and a list of variables."), + AP_INIT_RAW_ARGS("BrowserMatch", add_browser, NULL, + OR_FILEINFO, "A browser regex and a list of variables."), + AP_INIT_RAW_ARGS("BrowserMatchNoCase", add_browser, ICASE_MAGIC, + OR_FILEINFO, "A browser regex and a list of variables."), { NULL }, }; |