From 8053ccd44bf3bae3092ca52c4cb5e41f19e813a6 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 4 Aug 2022 11:36:24 +0200 Subject: [PATCH] Cygwin: net.cc: constify gai_errmap Signed-off-by: Corinna Vinschen --- 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: } /* Cygwin specific wrappers around the gai functions. */ -static struct gai_errmap_t +static const struct gai_errmap_t { int w32_errval; const char *errtxt;