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, Jan 1, 4:40 AM
Unknown Object (File)
Tue, Dec 31, 3:55 AM
Unknown Object (File)
Mon, Dec 30, 4:27 AM
Unknown Object (File)
Sun, Dec 29, 5:16 AM
Unknown Object (File)
Sat, Dec 28, 5:22 AM
Unknown Object (File)
Fri, Dec 27, 2:07 PM
Unknown Object (File)
Nov 22 2024, 2:45 PM
Unknown Object (File)
Oct 20 2024, 10:23 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

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