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

index be32911a29c92c664bdd14be873bf77f8045b284..d07aeb760893eebf714fed493a19bfb7ac612563 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.h,v 1.28.12.4 2004/03/08 09:04:53 marka Exp $ */
+/* $Id: timer.h,v 1.28.12.5 2005/10/26 06:52:52 marka Exp $ */
 
 #ifndef ISC_TIMER_H
 #define ISC_TIMER_H 1
@@ -277,8 +277,15 @@ isc_timer_detach(isc_timer_t **timerp);
  *             timer event callbacks will run after the call.
  */
 
-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 f3cdd916f9c1f148cb6c1da69a6175d3c20dc858..2de416052994164db87651deb48577ff55e21d2f 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: timer.c,v 1.64.12.9 2004/03/08 09:04:50 marka Exp $ */
+/* $Id: timer.c,v 1.64.12.10 2005/10/26 06:52:52 marka Exp $ */
 
 #include <config.h>
 
@@ -487,7 +487,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;