HomeFreeBSD

kqueue: Define older kqueue event types better

Description

kqueue: Define older kqueue event types better

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
Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D33056

(cherry picked from commit 9109192197166e72ce0c04e5f04fc82f35a82f40)

Details

Provenance
impAuthored on Nov 23 2021, 5:51 PM
Reviewer
brooks
Differential Revision
D33056: kqueue: Define older kqueue event types better
Parents
rG3d23a13d2294: Correct the name of the second parameter of biowait to wmesg
Branches
Unknown
Tags
Unknown