summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/fake-getaddrinfo.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-06-05 10:04:12 +1000
committerDamien Miller <djm@mindrot.org>2003-06-05 10:04:12 +1000
commitb95bb7f9b13905ade12cac848e34339ae8a1cc2f (patch)
tree6bba63edd710e839b5e6523b391346b0a81025bd /openbsd-compat/fake-getaddrinfo.h
parentceb3136f5f121e0d6d3a78dcc52c6bf186a7f872 (diff)
- (djm) Don't use xmalloc() or pull in toplevel headers in fake-* code
Diffstat (limited to 'openbsd-compat/fake-getaddrinfo.h')
-rw-r--r--openbsd-compat/fake-getaddrinfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/openbsd-compat/fake-getaddrinfo.h b/openbsd-compat/fake-getaddrinfo.h
index eaba323d..62e93ddb 100644
--- a/openbsd-compat/fake-getaddrinfo.h
+++ b/openbsd-compat/fake-getaddrinfo.h
@@ -1,4 +1,4 @@
-/* $Id: fake-getaddrinfo.h,v 1.5 2003/06/04 23:48:33 djm Exp $ */
+/* $Id: fake-getaddrinfo.h,v 1.6 2003/06/05 00:04:12 djm Exp $ */
#ifndef _FAKE_GETADDRINFO_H
#define _FAKE_GETADDRINFO_H
@@ -27,16 +27,16 @@ struct addrinfo {
#endif /* !HAVE_STRUCT_ADDRINFO */
#ifndef HAVE_GETADDRINFO
-int getaddrinfo(const char *hostname, const char *servname,
- const struct addrinfo *hints, struct addrinfo **res);
+int getaddrinfo(const char *, const char *,
+ const struct addrinfo *, struct addrinfo **);
#endif /* !HAVE_GETADDRINFO */
#ifndef HAVE_GAI_STRERROR
-char *gai_strerror(int ecode);
+char *gai_strerror(int);
#endif /* !HAVE_GAI_STRERROR */
#ifndef HAVE_FREEADDRINFO
-void freeaddrinfo(struct addrinfo *ai);
+void freeaddrinfo(struct addrinfo *);
#endif /* !HAVE_FREEADDRINFO */
#endif /* _FAKE_GETADDRINFO_H */