diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-04-04 06:16:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-04-04 06:16:40 +0000 |
commit | 754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2 (patch) | |
tree | 3a7bd502ca18723cbf4b9cf63acc2ee2cc63ba9a /resolv/netdb.h | |
parent | 468946739b3f7e6031d4843fc9a9d5a6e8a16114 (diff) | |
download | glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.tar glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.tar.gz glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.tar.bz2 glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.zip |
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/netdb.h')
-rw-r--r-- | resolv/netdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h index 09ca37bbbf..e54c974f2f 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, |