public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: net.cc: constify gai_errmap
@ 2022-08-04 10:56 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2022-08-04 10:56 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8053ccd44bf3bae3092ca52c4cb5e41f19e813a6
commit 8053ccd44bf3bae3092ca52c4cb5e41f19e813a6
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Thu Aug 4 11:36:24 2022 +0200
Cygwin: net.cc: constify gai_errmap
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
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:
}
/* Cygwin specific wrappers around the gai functions. */
-static struct gai_errmap_t
+static const struct gai_errmap_t
{
int w32_errval;
const char *errtxt;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-04 10:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 10:56 [newlib-cygwin] Cygwin: net.cc: constify gai_errmap Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).