summaryrefslogtreecommitdiffstats
path: root/modules/proxy
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2024-02-19 11:45:36 +0100
committerJoe Orton <jorton@apache.org>2024-02-19 11:45:36 +0100
commit3703f02db71a3c5a8b2bb49752f4415fccd9918d (patch)
treeb3a54721233fdfd236e1484cafbbf0f51cfcafba /modules/proxy
parentadded dsl.xml.es and dso.html.es.utf8 (diff)
downloadapache2-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.c8
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;