summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-10-04 22:54:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-10-04 22:54:24 +0000
commitc008e1ef8e468ba8f9d63a4eac7f7964ba33a208 (patch)
tree84909966f990e41cd30f6211853f118e16998710 /include
parent39dd0c638ab9bed7cb808a097ce125d3a3f030b9 (diff)
Remove parameter names in prototypes (always a bad idea)
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 49b13260635..b5f7b5a12fb 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netdb.h,v 1.10 2000/05/15 10:50:39 itojun Exp $ */
+/* $OpenBSD: netdb.h,v 1.11 2000/10/04 22:54:23 espie Exp $ */
/*
* ++Copyright++ 1980, 1983, 1988, 1993
@@ -211,13 +211,13 @@ void setnetent __P((int));
void setprotoent __P((int));
void setservent __P((int));
-int getaddrinfo __P((const char *name, const char *service,
- const struct addrinfo *req, struct addrinfo **pai));
-void freeaddrinfo __P((struct addrinfo *ai));
-int getnameinfo __P((const struct sockaddr *sa, socklen_t addrlen,
- char *host, size_t hostlen, char *serv, size_t servlen,
- int flags));
-char *gai_strerror __P((int ecode));
+int getaddrinfo __P((const char *, const char *,
+ const struct addrinfo *, struct addrinfo **));
+void freeaddrinfo __P((struct addrinfo *));
+int getnameinfo __P((const struct sockaddr *, socklen_t,
+ char *, size_t, char *, size_t,
+ int));
+char *gai_strerror __P((int));
int net_addrcmp __P((struct sockaddr *, struct sockaddr *));
__END_DECLS