Page MenuHomeFreeBSD

kqueue: Define older kqueue event types better

Authored by imp on Fri, Nov 19, 3:07 AM.



struct kqueue is designed to live in a restricted namespace, but the
older compat versions are not. Shift to using unsigned short instead
of u_short, unsigned int instead of u_int and the __*int*_t types
instead of the unprefiexed versions.

Sponsored by: Netflix

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

imp requested review of this revision.Fri, Nov 19, 3:07 AM

This seems fine. I think these should likely be moved elsewhere, but that's an unrelated change.

This revision is now accepted and ready to land.Tue, Nov 23, 6:18 PM
This revision was automatically updated to reflect the committed changes.