# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |