]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix isc_timer_gettype return type
authorMark Andrews <marka@isc.org>
Wed, 26 Oct 2005 06:50:50 +0000 (06:50 +0000)
committerMark Andrews <marka@isc.org>
Wed, 26 Oct 2005 06:50:50 +0000 (06:50 +0000)
lib/isc/include/isc/timer.h
lib/isc/timer.c

index c46b7040577b8734beb62005f9bb262fdcffd37a..1e139dda819d7556209e37d52a8be608949b459d 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.h,v 1.31.18.2 2005/04/29 00:17:04 marka Exp $ */
+/* $Id: timer.h,v 1.31.18.3 2005/10/26 06:50:50 marka Exp $ */
 
 #ifndef ISC_TIMER_H
 #define ISC_TIMER_H 1
@@ -276,8 +276,15 @@ isc_timer_detach(isc_timer_t **timerp);
  *\endcode
  */
 
-isc_result_t
+isc_timertype_t
 isc_timer_gettype(isc_timer_t *timer);
+/*%<
+ * Return the timer type.
+ *
+ * Requires:
+ *
+ *\li  'timer' to be a valid timer.
+ */
 
 isc_result_t
 isc_timermgr_create(isc_mem_t *mctx, isc_timermgr_t **managerp);
index 571022f8c5a503c5660c171ebf5a56c6543317ae..69ebadc321d69d1fa4fbb52b448d1fd5f6982aa4 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.73.18.3 2005/07/12 01:22:31 marka Exp $ */
+/* $Id: timer.c,v 1.73.18.4 2005/10/26 06:50:49 marka Exp $ */
 
 /*! \file */
 
@@ -486,7 +486,7 @@ isc_timer_reset(isc_timer_t *timer, isc_timertype_t type,
        return (result);
 }
 
-isc_result_t
+isc_timertype_t
 isc_timer_gettype(isc_timer_t *timer) {
        isc_timertype_t t;