summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-02 15:59:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-02 15:59:12 +0000
commit3ac93aa3c5a1cd8af9b0133c9ac78696727fb967 (patch)
tree980b105103cfa0226c1298ba11932518e188102b /ares.h
parentd323492eb884ccfb6775c13c73cb58b6b11f37f0 (diff)
downloadc-ares-3ac93aa3c5a1cd8af9b0133c9ac78696727fb967.tar.gz
c-ares-3ac93aa3c5a1cd8af9b0133c9ac78696727fb967.tar.bz2
c-ares-3ac93aa3c5a1cd8af9b0133c9ac78696727fb967.zip
removed the silly second argument to ares_strerror()
This breaks the API and ABI with the existing ares library. We hereby require the upcoming c-ares 1.0 for asynch name resolves!
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index e00d88b..c1b10d0 100644
--- a/ares.h
+++ b/ares.h
@@ -124,7 +124,7 @@ int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr,
int addrlen, int family, struct hostent **host);
void ares_free_string(char *str);
void ares_free_hostent(struct hostent *host);
-const char *ares_strerror(int code, char **memptr);
+const char *ares_strerror(int code);
void ares_free_errmem(char *mem);
#endif /* ARES__H */