From 3703f02db71a3c5a8b2bb49752f4415fccd9918d Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Mon, 19 Feb 2024 10:45:36 +0000 Subject: [PATCH] * 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 --- modules/proxy/mod_proxy_scgi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.47.3