# HG changeset patch # User Thinker K.F. Li # Date 1290357750 -28800 # Node ID cfed7fb28d24325cbe8d2e63acdbe564beeeae1a # Parent 734ba9161be4bfc20490f04b5683ff5e548cc4a9 Declare function as static functions diff -r 734ba9161be4 -r cfed7fb28d24 src/X_supp.c --- a/src/X_supp.c Mon Nov 22 00:42:29 2010 +0800 +++ b/src/X_supp.c Mon Nov 22 00:42:30 2010 +0800 @@ -84,12 +84,12 @@ mb_tman_t *tman; }; -int _x_supp_timer_man_timeout(struct _mb_timer_man *tm_man, - mbsec_t sec, mbusec_t usec, - mb_timer_cb_t cb, void *data); -void _x_supp_timer_man_remove(struct _mb_timer_man *tm_man, int tm_hdl); -mb_timer_man_t *_x_supp_timer_fact_new(void); -void _x_supp_timer_fact_free(mb_timer_man_t *timer_man); +static int _x_supp_timer_man_timeout(struct _mb_timer_man *tm_man, + mb_timeval_t *tmout, + mb_timer_cb_t cb, void *data); +static void _x_supp_timer_man_remove(struct _mb_timer_man *tm_man, int tm_hdl); +static mb_timer_man_t *_x_supp_timer_fact_new(void); +static void _x_supp_timer_fact_free(mb_timer_man_t *timer_man); static struct _X_supp_timer_man _x_supp_default_timer_man = { {_x_supp_timer_man_timeout, _x_supp_timer_man_remove},