ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd_devpoll.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/s_bsd_devpoll.c (file contents):
Revision 2916 by michael, Sat Jan 25 21:09:18 2014 UTC vs.
Revision 4461 by michael, Wed Aug 13 17:05:26 2014 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)