Mercurial > MadButterfly
comparison src/X_supp.c @ 998:dfba5688e19a refine_backend_if
Fix typo on return type of _x_supp_tmo_hdlr()
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:30 +0800 |
parents | cfed7fb28d24 |
children | d975a59d4504 |
comparison
equal
deleted
inserted
replaced
997:cfed7fb28d24 | 998:dfba5688e19a |
---|---|
112 mb_timer_t *timer; /*!< Handle returned by mb_tman_timeout() */ | 112 mb_timer_t *timer; /*!< Handle returned by mb_tman_timeout() */ |
113 mb_timer_cb_t cb; /*!< Real callback function */ | 113 mb_timer_cb_t cb; /*!< Real callback function */ |
114 void *data; /*!< data for real callback */ | 114 void *data; /*!< data for real callback */ |
115 }; | 115 }; |
116 | 116 |
117 static void * | 117 static void |
118 _x_supp_tmo_hdlr(const mb_timeval_t *tmo, | 118 _x_supp_tmo_hdlr(const mb_timeval_t *tmo, |
119 const mb_timeval_t *now, | 119 const mb_timeval_t *now, |
120 void *arg) { | 120 void *arg) { |
121 struct _X_supp_timeout_data *data = (struct _X_supp_timeout_data *)arg; | 121 struct _X_supp_timeout_data *data = (struct _X_supp_timeout_data *)arg; |
122 | 122 |