]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* modules/proxy/mod_proxy_scgi.c: Mark global variables as static and
authorJoe Orton <jorton@apache.org>
Mon, 19 Feb 2024 10:45:36 +0000 (10:45 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 19 Feb 2024 10:45:36 +0000 (10:45 +0000)
  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

index 5444a5c4270b36a05a8df894fd9445695007a2d4..2ea038bae89d6f19576c17e37f68685d8afe14e9 100644 (file)
@@ -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;