Page MenuHomeFreeBSD

net/ifq.h: make header C++ friendly
ClosedPublic

Authored by mhorne on Nov 19 2020, 4:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 2:28 PM
Unknown Object (File)
Mon, May 4, 8:36 AM
Unknown Object (File)
Sun, Apr 26, 11:06 AM
Unknown Object (File)
Fri, Apr 24, 7:33 PM
Unknown Object (File)
Thu, Apr 23, 9:11 PM
Unknown Object (File)
Apr 16 2026, 9:31 AM
Unknown Object (File)
Apr 15 2026, 10:47 AM
Unknown Object (File)
Apr 15 2026, 9:36 AM

Details

Summary

Don't use "new" as an identifier, and add explicit casts from void *.

As a general policy, FreeBSD doesn't make any C++ compatibility
guarantees for kernel headers like it does for userland, but it is a
small effort to do so in this case, to the benefit of a downstream
consumer (NetApp).

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34915
Build 31934: arc lint + arc unit