Page MenuHomeFreeBSD

x86: Remove silly checks for <sys/cdefs.h>.
ClosedPublic

Authored by jhb on Apr 6 2022, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 5:50 PM
Unknown Object (File)
Sat, Oct 11, 5:50 PM
Unknown Object (File)
Sat, Oct 11, 5:50 PM
Unknown Object (File)
Sat, Oct 11, 9:09 AM
Unknown Object (File)
Wed, Oct 8, 5:45 PM
Unknown Object (File)
Sun, Oct 5, 2:20 AM
Unknown Object (File)
Thu, Oct 2, 1:09 PM
Unknown Object (File)
Mon, Sep 29, 4:34 PM
Subscribers

Details

Summary

These headers #include <sys/cdefs.h> right after checking if it has
already been #included. The nested #include already existed when the
check for _SYS_CDEFS_H_ was added, so the check shouldn't have been
added in the first place.

Reported by: brooks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable