From 641689bff407cdeaa5b627bf81a1a19202beffe2 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 30 Jun 2000 22:40:32 +0000 Subject: [PATCH] note in the comment that isc_time_microdiff returns 0 if t1 < t2. no need to pull up. --- lib/isc/unix/include/isc/time.h | 5 ++++- lib/isc/win32/include/isc/time.h | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/isc/unix/include/isc/time.h b/lib/isc/unix/include/isc/time.h index 3d4774be41..0d2e3dbb77 100644 --- a/lib/isc/unix/include/isc/time.h +++ b/lib/isc/unix/include/isc/time.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: time.h,v 1.20 2000/06/22 21:59:01 tale Exp $ */ +/* $Id: time.h,v 1.21 2000/06/30 22:40:30 tale Exp $ */ #ifndef ISC_TIME_H #define ISC_TIME_H 1 @@ -224,6 +224,9 @@ isc_time_microdiff(isc_time_t *t1, isc_time_t *t2); * Requires: * * 't1' and 't2' are valid pointers. + * + * Returns: + * The difference of t1 - t2, or 0 if t1 <= t2. */ isc_uint32_t diff --git a/lib/isc/win32/include/isc/time.h b/lib/isc/win32/include/isc/time.h index e2cb89025b..db551970f6 100644 --- a/lib/isc/win32/include/isc/time.h +++ b/lib/isc/win32/include/isc/time.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: time.h,v 1.15 2000/06/22 21:59:20 tale Exp $ */ +/* $Id: time.h,v 1.16 2000/06/30 22:40:32 tale Exp $ */ #ifndef ISC_TIME_H #define ISC_TIME_H 1 @@ -224,6 +224,9 @@ isc_time_microdiff(isc_time_t *t1, isc_time_t *t2); * Requires: * * 't1' and 't2' are valid pointers. + * + * Returns: + * The difference of t1 - t2, or 0 if t1 <= t2. */ isc_uint32_t