comparison src/X_supp.c @ 997:cfed7fb28d24 refine_backend_if

Declare function as static functions
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 00:42:30 +0800
parents 1882700bb4b9
children dfba5688e19a
comparison
equal deleted inserted replaced
996:734ba9161be4 997:cfed7fb28d24
82 struct _X_supp_timer_man { 82 struct _X_supp_timer_man {
83 mb_timer_man_t timer_man; 83 mb_timer_man_t timer_man;
84 mb_tman_t *tman; 84 mb_tman_t *tman;
85 }; 85 };
86 86
87 int _x_supp_timer_man_timeout(struct _mb_timer_man *tm_man, 87 static int _x_supp_timer_man_timeout(struct _mb_timer_man *tm_man,
88 mbsec_t sec, mbusec_t usec, 88 mb_timeval_t *tmout,
89 mb_timer_cb_t cb, void *data); 89 mb_timer_cb_t cb, void *data);
90 void _x_supp_timer_man_remove(struct _mb_timer_man *tm_man, int tm_hdl); 90 static void _x_supp_timer_man_remove(struct _mb_timer_man *tm_man, int tm_hdl);
91 mb_timer_man_t *_x_supp_timer_fact_new(void); 91 static mb_timer_man_t *_x_supp_timer_fact_new(void);
92 void _x_supp_timer_fact_free(mb_timer_man_t *timer_man); 92 static void _x_supp_timer_fact_free(mb_timer_man_t *timer_man);
93 93
94 static struct _X_supp_timer_man _x_supp_default_timer_man = { 94 static struct _X_supp_timer_man _x_supp_default_timer_man = {
95 {_x_supp_timer_man_timeout, _x_supp_timer_man_remove}, 95 {_x_supp_timer_man_timeout, _x_supp_timer_man_remove},
96 NULL 96 NULL
97 }; 97 };