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

index 22e920aec4c70f61431b400442f006ac3582aa1c..36b3aa3ebcb0a4a5c309509b60034d1d580114d5 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.h,v 1.33 2005/04/29 00:23:46 marka Exp $ */
+/* $Id: timer.h,v 1.34 2005/10/26 06:46:36 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 865bb9264d8a86b4d16aa52d990ef605e7d8131d..e766165f2dc52d6dbe241ac50731df75c9cc8924 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.76 2005/07/12 01:00:18 marka Exp $ */
+/* $Id: timer.c,v 1.77 2005/10/26 06:46:36 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;