diff options
author | phantom <phantom@FreeBSD.org> | 2005-02-14 11:33:12 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2005-02-14 11:33:12 +0000 |
commit | eb29a7bac4636e6bec3a03173f13a68d2f0c8446 (patch) | |
tree | 0eeb069d09cbd153386f855dc2323f366df7f0fb /include | |
parent | 4548946acd47afa9ed8af3978827f3de56d9034e (diff) | |
download | FreeBSD-src-eb29a7bac4636e6bec3a03173f13a68d2f0c8446.zip FreeBSD-src-eb29a7bac4636e6bec3a03173f13a68d2f0c8446.tar.gz |
. Convert return type of gai_strerror() to 'const char *' as POSIX requires.
. Convert ai_errlist[] to simple 'char *' array, and appropriately
optimize gai_strerror()
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h index 4278794..57cd70b 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -247,7 +247,7 @@ int getaddrinfo(const char *, const char *, int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int); void freeaddrinfo(struct addrinfo *); -char *gai_strerror(int); +const char *gai_strerror(int); void setnetgrent(const char *); void setservent(int); |