summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-12-20 22:35:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-12-20 22:35:33 +0000
commite69fb15a5060a4a3972a80359904b50809bffec2 (patch)
tree729eeb16728a43c64c06ddd28d9a7f7940179861 /include/netdb.h
parent4a836c8ecfdf047721450373a6a45f9288831c96 (diff)
gai_strerror() should return const char *; OK deraadt@
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 17d006c5cf8..96c4afebb22 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netdb.h,v 1.22 2004/11/17 03:57:53 itojun Exp $ */
+/* $OpenBSD: netdb.h,v 1.23 2004/12/20 22:35:32 millert Exp $ */
/*
* ++Copyright++ 1980, 1983, 1988, 1993
@@ -311,7 +311,7 @@ int getaddrinfo(const char *, const char *,
void freeaddrinfo(struct addrinfo *);
int getnameinfo(const struct sockaddr *, socklen_t,
char *, size_t, char *, size_t, int);
-char *gai_strerror(int);
+const char *gai_strerror(int);
int net_addrcmp(struct sockaddr *, struct sockaddr *);
int getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct rrsetinfo **);
void freerrset(struct rrsetinfo *);