From 92d2b8568ef29f26406b51ab491761f15e4657c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Fri, 4 Oct 2024 15:28:27 +0300 Subject: [PATCH] httpd: make httpd_out static --- imap/httpd.c | 2 +- imap/httpd.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/imap/httpd.c b/imap/httpd.c index 7fc6179913..27cc02b96d 100644 --- a/imap/httpd.c +++ b/imap/httpd.c @@ -419,7 +419,7 @@ int httpd_userisadmin = 0; int httpd_userisproxyadmin = 0; int httpd_userisanonymous = 1; const char *httpd_localip = NULL, *httpd_remoteip = NULL; -struct protstream *httpd_out = NULL; +static struct protstream *httpd_out; struct protstream *httpd_in = NULL; strarray_t *httpd_log_headers = NULL; char *httpd_altsvc = NULL; diff --git a/imap/httpd.h b/imap/httpd.h index 357383c343..12a8048f4b 100644 --- a/imap/httpd.h +++ b/imap/httpd.h @@ -555,7 +555,6 @@ extern struct namespace_t namespace_cgi; extern struct buf serverinfo; extern ptrarray_t backend_cached; extern struct protstream *httpd_in; -extern struct protstream *httpd_out; extern int https; extern sasl_conn_t *httpd_saslconn; extern int httpd_timeout;