diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-03-26 01:12:43 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-03-27 08:56:21 +0100 |
commit | bc29b2660ff61a274adb50e09986106416a8e94a (patch) | |
tree | d27c9e262a1c545711eac1edba0961e96aee1868 | |
parent | ed3a3c6f1d79286864b6701024b98a15a1475942 (diff) |
Doxygen: fix documentation of osmo_timer_setup()
This change fixes the following Doxygen warnings:
timer.c:69: warning: argument 'callback' of command @param is not
found in the argument list of
osmo_timer_setup(struct osmo_timer_list *timer,
void(*cb)(void *data), void *data)
timer.c:69: warning: argument 'pointer' of command @param is not
found in the argument list of
osmo_timer_setup(struct osmo_timer_list *timer,
void(*cb)(void *data), void *data)
core/timer.h:70: warning: The following parameters of
osmo_timer_setup(struct osmo_timer_list *timer,
void(*cb)(void *data), void *data)
are not documented:
parameter 'cb'
parameter 'data'
Change-Id: If5668f40a7bfde2f4f22329a071c8c6eff23b99e
-rw-r--r-- | src/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timer.c b/src/timer.c index 02160a10..0b2e3dd3 100644 --- a/src/timer.c +++ b/src/timer.c @@ -68,8 +68,8 @@ static void __add_timer(struct osmo_timer_list *timer) /*! set up timer callback and data * \param[in] timer the timer that should be added - * \param[in] callback function to be called when timer expires - * \param[in] pointer to data that passed to the callback function + * \param[in] cb function to be called when timer expires + * \param[in] data pointer to data that passed to the callback function */ void osmo_timer_setup(struct osmo_timer_list *timer, void (*cb)(void *data), void *data) |