From: Joe Orton Date: Mon, 19 Feb 2024 10:45:36 +0000 (+0000) Subject: * modules/proxy/mod_proxy_scgi.c: Mark global variables as static and X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3703f02db71a3c5a8b2bb49752f4415fccd9918d;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/proxy/mod_proxy_scgi.c b/modules/proxy/mod_proxy_scgi.c index 5444a5c4270..2ea038bae89 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;