diff options
author | Joe Orton <jorton@apache.org> | 2024-02-19 11:45:36 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2024-02-19 11:45:36 +0100 |
commit | 3703f02db71a3c5a8b2bb49752f4415fccd9918d (patch) | |
tree | b3a54721233fdfd236e1484cafbbf0f51cfcafba /modules/proxy | |
parent | added dsl.xml.es and dso.html.es.utf8 (diff) | |
download | apache2-3703f02db71a3c5a8b2bb49752f4415fccd9918d.tar.xz apache2-3703f02db71a3c5a8b2bb49752f4415fccd9918d.zip |
* modules/proxy/mod_proxy_scgi.c: Mark global variables as static and
pointers as const. (no functional change)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1915874 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r-- | modules/proxy/mod_proxy_scgi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/proxy/mod_proxy_scgi.c b/modules/proxy/mod_proxy_scgi.c index 5444a5c427..2ea038bae8 100644 --- a/modules/proxy/mod_proxy_scgi.c +++ b/modules/proxy/mod_proxy_scgi.c @@ -62,10 +62,10 @@ typedef struct { scgi_request_type type; /* type of request */ } scgi_request_config; -const char *scgi_sendfile_off = "off"; -const char *scgi_sendfile_on = "X-Sendfile"; -const char *scgi_internal_redirect_off = "off"; -const char *scgi_internal_redirect_on = "Location"; +static const char *const scgi_sendfile_off = "off"; +static const char *const scgi_sendfile_on = "X-Sendfile"; +static const char *const scgi_internal_redirect_off = "off"; +static const char *const scgi_internal_redirect_on = "Location"; typedef struct { const char *sendfile; |