Mercurial > MadButterfly
comparison src/X_supp.c @ 1000:c92aabb054e2 refine_backend_if
Declare functions correctly
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:30 +0800 |
parents | d975a59d4504 |
children | b462b9e213e8 |
comparison
equal
deleted
inserted
replaced
999:d975a59d4504 | 1000:c92aabb054e2 |
---|---|
183 mb_IO_man_t io_man; | 183 mb_IO_man_t io_man; |
184 monitor_t monitors[MAX_MONITORS]; | 184 monitor_t monitors[MAX_MONITORS]; |
185 int n_monitor; | 185 int n_monitor; |
186 }; | 186 }; |
187 | 187 |
188 int _x_supp_io_man_reg(struct _mb_IO_man *io_man, | 188 static int _x_supp_io_man_reg(struct _mb_IO_man *io_man, |
189 int fd, MB_IO_TYPE type, mb_IO_cb_t cb, void *data); | 189 int fd, MB_IO_TYPE type, |
190 void _x_supp_io_man_unreg(struct _mb_IO_Man *io_man, int io_hdl); | 190 mb_IO_cb_t cb, void *data); |
191 mb_IO_man_t *_x_supp_io_man_new(void); | 191 static void _x_supp_io_man_unreg(struct _mb_IO_Man *io_man, int io_hdl); |
192 void _x_supp_io_man_free(mb_IO_man_t *io_man); | 192 static mb_IO_man_t *_x_supp_io_man_new(void); |
193 static void _x_supp_io_man_free(mb_IO_man_t *io_man); | |
193 | 194 |
194 static mb_IO_factory_t _X_supp_default_io_factory = { | 195 static mb_IO_factory_t _X_supp_default_io_factory = { |
195 _x_supp_io_man_new, | 196 _x_supp_io_man_new, |
196 _x_supp_io_man_free | 197 _x_supp_io_man_free |
197 }; | 198 }; |