From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 1AB893858407; Thu, 4 Aug 2022 10:56:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AB893858407 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: net.cc: constify gai_errmap X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: f418195dc93bb1d0591d43a550586c370facc856 X-Git-Newrev: 8053ccd44bf3bae3092ca52c4cb5e41f19e813a6 Message-Id: <20220804105627.1AB893858407@sourceware.org> Date: Thu, 4 Aug 2022 10:56:27 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2022 10:56:27 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D8053ccd44bf= 3bae3092ca52c4cb5e41f19e813a6 commit 8053ccd44bf3bae3092ca52c4cb5e41f19e813a6 Author: Corinna Vinschen Date: Thu Aug 4 11:36:24 2022 +0200 Cygwin: net.cc: constify gai_errmap =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/net.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 62c7cf807..087248439 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -2883,7 +2883,7 @@ bad: } =20 /* Cygwin specific wrappers around the gai functions. */ -static struct gai_errmap_t +static const struct gai_errmap_t { int w32_errval; const char *errtxt;