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)
Sun, Jun 7, 11:09 PM
Unknown Object (File)
May 7 2026, 3:12 AM
Unknown Object (File)
May 6 2026, 2:59 AM
Unknown Object (File)
May 3 2026, 3:48 PM
Unknown Object (File)
Apr 30 2026, 3:32 PM
Unknown Object (File)
Apr 29 2026, 11:22 AM
Unknown Object (File)
Apr 29 2026, 11:13 AM
Unknown Object (File)
Apr 25 2026, 3:09 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