aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-04 06:16:40 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-04 06:16:40 +0000
commit754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2 (patch)
tree3a7bd502ca18723cbf4b9cf63acc2ee2cc63ba9a /resolv
parent468946739b3f7e6031d4843fc9a9d5a6e8a16114 (diff)
downloadglibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.zip
glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.tar.gz
glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.tar.bz2
Update.
2001-04-03 Ulrich Drepper <drepper@redhat.com> * resolv/netdb.h (gai_strerror): Make return value const. * sysdeps/generic/gai_strerror.c (gai_strerror): Likewise. * sysdeps/posix/gai_strerror.c (gai_strerror): Likewise. Add strings for new error values.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/netdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 09ca37b..e54c974 100644
--- a/resolv/netdb.h
+++ b/resolv/netdb.h
@@ -482,7 +482,7 @@ extern int getaddrinfo (__const char *__restrict __name,
extern void freeaddrinfo (struct addrinfo *__ai) __THROW;
/* Convert error return from getaddrinfo() to a string. */
-extern char *gai_strerror (int __ecode) __THROW;
+extern __const char *gai_strerror (int __ecode) __THROW;
/* Translate a socket address to a location and service name. */
extern int getnameinfo (__const struct sockaddr *__restrict __sa,