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
F155006205: D34796.diff
Thu, Apr 30, 3:32 PM
Unknown Object (File)
Wed, Apr 29, 11:22 AM
Unknown Object (File)
Wed, Apr 29, 11:13 AM
Unknown Object (File)
Sat, Apr 25, 3:09 PM
Unknown Object (File)
Tue, Apr 21, 6:58 AM
Unknown Object (File)
Tue, Apr 21, 1:46 AM
Unknown Object (File)
Mon, Apr 20, 5:21 PM
Unknown Object (File)
Sun, Apr 19, 6:29 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