HomeFreeBSD

netlink: Fix C++ compile errors

Description

netlink: Fix C++ compile errors

Allow these files to be included in C++ programs with careful casting to
the proper type, like C++ wants (and in a way that also works for C).

MFC After: 1 week
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1245

Details

Provenance
cnbatch <cnbatch@gmail.com>Authored on May 17 2024, 1:09 PM
impCommitted on May 25 2024, 4:31 AM
Parents
rGbfd248f59de3: sys/amd64/conf/LINT-NOINET{6,}: don't set WITHOUT_INET{6,}_SUPPORT
Branches
Unknown
Tags
Unknown