Mercurial > MadButterfly
changeset 996:734ba9161be4 refine_backend_if
Change signature to make const for arguments of mb_timer_cb_t
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:29 +0800 |
parents | 8c556e0839eb |
children | cfed7fb28d24 |
files | include/mb_backend.h |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/include/mb_backend.h Mon Nov 22 00:42:29 2010 +0800 +++ b/include/mb_backend.h Mon Nov 22 00:42:29 2010 +0800 @@ -102,7 +102,9 @@ /*! \brief Function signature of callback functions for timers. */ -typedef void (*mb_timer_cb_t)(int hdl, mb_timeval_t *tmo, mb_timeval_t *now, +typedef void (*mb_timer_cb_t)(int hdl, + const mb_timeval_t *tmo, + const mb_timeval_t *now, void *data); /*! \brief Timer manager