summaryrefslogtreecommitdiff
path: root/ares__timeval.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-20 01:24:19 +0000
committerYang Tse <yangsita@gmail.com>2008-05-20 01:24:19 +0000
commit0129767bf9fddbc0bceded80075722a735fbbadd (patch)
tree25d3ee5f4f46203af766d03283530be8b32dea57 /ares__timeval.c
parentc31375137d1e3e039ff86cea353d069350d8251f (diff)
downloadc-ares-0129767bf9fddbc0bceded80075722a735fbbadd.tar.gz
c-ares-0129767bf9fddbc0bceded80075722a735fbbadd.tar.bz2
c-ares-0129767bf9fddbc0bceded80075722a735fbbadd.zip
if'def out private function ares__tvdiff(), it is not in use yet.
Diffstat (limited to 'ares__timeval.c')
-rw-r--r--ares__timeval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares__timeval.c b/ares__timeval.c
index 6de6c65..c3f39f5 100644
--- a/ares__timeval.c
+++ b/ares__timeval.c
@@ -81,6 +81,7 @@ struct timeval ares__tvnow(void)
#endif
+#if 0 /* Not used */
/*
* Make sure that the first argument is the more recent time, as otherwise
* we'll get a weird negative time-diff back...
@@ -92,4 +93,5 @@ long ares__tvdiff(struct timeval newer, struct timeval older)
return (newer.tv_sec-older.tv_sec)*1000+
(newer.tv_usec-older.tv_usec)/1000;
}
+#endif