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)
Wed, Oct 29, 12:43 PM
Unknown Object (File)
Sun, Oct 26, 1:16 AM
Unknown Object (File)
Sat, Oct 25, 6:51 PM
Unknown Object (File)
Sun, Oct 19, 8:06 AM
Unknown Object (File)
Sun, Oct 19, 8:05 AM
Unknown Object (File)
Sun, Oct 19, 8:05 AM
Unknown Object (File)
Sat, Oct 18, 7:21 PM
Unknown Object (File)
Sep 10 2025, 5:42 PM

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable