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)
Oct 20 2024, 10:23 AM
Unknown Object (File)
Sep 18 2024, 7:06 PM
Unknown Object (File)
Sep 4 2024, 12:05 AM
Unknown Object (File)
Sep 2 2024, 3:18 AM
Unknown Object (File)
Aug 18 2024, 10:47 PM
Unknown Object (File)
Aug 18 2024, 7:50 PM
Unknown Object (File)
Aug 16 2024, 10:57 PM
Unknown Object (File)
Jun 29 2024, 5:12 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