Issue #25923: Added more const qualifiers to signatures of static and private functions.
diff --git a/Modules/getaddrinfo.c b/Modules/getaddrinfo.c
index 33d7078..13a9e40 100644
--- a/Modules/getaddrinfo.c
+++ b/Modules/getaddrinfo.c
@@ -198,7 +198,7 @@
 
 #define ERR(err) { error = (err); goto bad; }
 
-char *
+const char *
 gai_strerror(int ecode)
 {
     if (ecode < 0 || ecode > EAI_MAX)