summaryrefslogtreecommitdiff
path: root/nameser.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-09 16:30:24 +0000
committerYang Tse <yangsita@gmail.com>2008-05-09 16:30:24 +0000
commit0848b4fdaa130054c981194afa2ff0cd136d2590 (patch)
tree7c155964a353e2a872427b3aa1402e3f9be02f7a /nameser.h
parentfd5fdecf303826473ccb50a8762a331473b3c481 (diff)
downloadc-ares-0848b4fdaa130054c981194afa2ff0cd136d2590.tar.gz
c-ares-0848b4fdaa130054c981194afa2ff0cd136d2590.tar.bz2
c-ares-0848b4fdaa130054c981194afa2ff0cd136d2590.zip
Use monotonic time source if available.
Diffstat (limited to 'nameser.h')
-rw-r--r--nameser.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/nameser.h b/nameser.h
index 1549414..dc8c86e 100644
--- a/nameser.h
+++ b/nameser.h
@@ -29,13 +29,6 @@ struct iovec
int ares_writev (SOCKET s, const struct iovec *vector, size_t count);
#define writev(s,vect,count) ares_writev(s,vect,count)
-#ifndef HAVE_GETTIMEOFDAY
-struct timezone { int dummy; };
-#endif
-
-int ares_gettimeofday(struct timeval *tv, struct timezone *tz);
-#define gettimeofday(tv,tz) ares_gettimeofday(tv,tz)
-
#endif /* !NETWARE */
#define NS_CMPRSFLGS 0xc0