mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 09:09:59 -04:00
fix isc_timer_gettype return type
This commit is contained in:
parent
8c9957e632
commit
625d1dd4f4
2 changed files with 11 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue