Mercurial > MadButterfly
changeset 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 |
files | src/X_supp.c |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/X_supp.c Mon Nov 22 00:42:30 2010 +0800 +++ b/src/X_supp.c Mon Nov 22 00:42:30 2010 +0800 @@ -185,11 +185,12 @@ int n_monitor; }; -int _x_supp_io_man_reg(struct _mb_IO_man *io_man, - int fd, MB_IO_TYPE type, mb_IO_cb_t cb, void *data); -void _x_supp_io_man_unreg(struct _mb_IO_Man *io_man, int io_hdl); -mb_IO_man_t *_x_supp_io_man_new(void); -void _x_supp_io_man_free(mb_IO_man_t *io_man); +static int _x_supp_io_man_reg(struct _mb_IO_man *io_man, + int fd, MB_IO_TYPE type, + mb_IO_cb_t cb, void *data); +static void _x_supp_io_man_unreg(struct _mb_IO_Man *io_man, int io_hdl); +static mb_IO_man_t *_x_supp_io_man_new(void); +static void _x_supp_io_man_free(mb_IO_man_t *io_man); static mb_IO_factory_t _X_supp_default_io_factory = { _x_supp_io_man_new,