# | Line 94 | Line 94 | devpoll_write_update(int fd, int events) | |
---|---|---|
94 | * and deregister interest in a pending IO state for a given FD. | |
95 | */ | |
96 | void | |
97 | < | comm_setselect(fde_t *F, unsigned int type, PF *handler, |
97 | > | comm_setselect(fde_t *F, unsigned int type, void (*handler)(fde_t *, void *), |
98 | void *client_data, time_t timeout) | |
99 | { | |
100 | int new_events; | |
# | Line 143 | Line 143 | comm_select(void) | |
143 | int num, i; | |
144 | struct pollfd pollfds[128]; | |
145 | struct dvpoll dopoll; | |
146 | < | PF *hdl; |
146 | > | void (*hdl)(fde_t *, void *); |
147 | fde_t *F; | |
148 | ||
149 | dopoll.dp_timeout = SELECT_DELAY; |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |