aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commita8fc98aa30a895bc8f0535192e11f3ae05b790bf (patch)
tree210ef23be7a75e94524676f341086211abc9dade /ares/ares__timeval.c
parentd70f33748cc3913e46df34f163191d73b3c897f9 (diff)
if'def out private function ares__tvdiff(), it is not in use yet.
Diffstat (limited to 'ares/ares__timeval.c')
-rw-r--r--ares/ares__timeval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/ares__timeval.c b/ares/ares__timeval.c
index 6de6c6552..c3f39f523 100644
--- a/ares/ares__timeval.c
+++ b/ares/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