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

Comparing ircd-hybrid/trunk/src/s_bsd_kqueue.c (file contents):
Revision 7668 by michael, Wed Jul 20 17:09:49 2016 UTC vs.
Revision 7760 by michael, Wed Oct 5 18:33:22 2016 UTC

# Line 65 | Line 65 | netio_init(void)
65   static void
66   kq_update_events(int fd, int filter, int what)
67   {
68 <  static struct timespec zero_timespec = {0, 0};
68 >  const struct timespec zero_timespec = { .tv_sec = 0, .tv_nsec = 0 };
69    struct kevent *kep = kq_fdlist + kqoff;
70  
71    EV_SET(kep, (uintptr_t) fd, (short) filter, what, 0, 0, NULL);

Diff Legend

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