From f5854974c879ba66be10eeb43be98ae2382827c1 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 18 Oct 2015 06:59:15 +0000 Subject: [PATCH] Refined comments. FossilOrigin-Name: 815818183a39d25c3ed7bbbb839c655d443de09b48a1a019854857692f8f4e41 --- src/capwap/timer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/capwap/timer.h b/src/capwap/timer.h index dd99ae19..72e96834 100644 --- a/src/capwap/timer.h +++ b/src/capwap/timer.h @@ -37,11 +37,11 @@ typedef time_t cw_timer_t; /** * Start a timer. * @param t number of seconds until the timer expires - * @return timer value to initialize a variable of time_t + * @return timer value to initialize a variable of #cw_timer_t * * Example: * @code - * time_t timer = cw_timer_start(60); + * cw_timer_t timer = cw_timer_start(60); * while (!cw_timer_timeout(timer)){ * // Do something for max. 60 seconds ... * } @@ -51,7 +51,7 @@ typedef time_t cw_timer_t; /** * Check if a timer is expired. - * @param t a variable of type time_t intialized by #cw_timer_start + * @param t a variable of type #cw_timer_t intialized by #cw_timer_start * @return 0=timer is not expired\n 1=timer is expired. */ #define cw_timer_timeout(t) (time(NULL)>t ? 1 : 0)