#
d14c38ce |
| 05-Nov-2024 |
Mark Johnston <markj@FreeBSD.org> |
sys: Avoid relying on pollution from refcount.h
Fix up headers which previously assumed that refcount.h includes systm.h, and make them more self-contained. Then, replace the systm.h include in ref
sys: Avoid relying on pollution from refcount.h
Fix up headers which previously assumed that refcount.h includes systm.h, and make them more self-contained. Then, replace the systm.h include in refcount with kassert.h.
Reviewed by: imp, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47450
show more ...
|
Revision tags: release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
5e2de1c1 |
| 24-Feb-2022 |
Warner Losh <imp@FreeBSD.org> |
test-includes: temporarily add back net/pfvar.h
net/pfvar.h is installed unconditionally, but depends on files that are installed conditionally. Until that can be sorted out, temporarily add this ba
test-includes: temporarily add back net/pfvar.h
net/pfvar.h is installed unconditionally, but depends on files that are installed conditionally. Until that can be sorted out, temporarily add this back to badfiles.inc to cope with MK_PF=no failing.
Sponsored by: Netflix
show more ...
|
#
ef1b9270 |
| 07-Jan-2022 |
Warner Losh <imp@FreeBSD.org> |
net/if_pfsync.h: Add back to bad files
This file does not build for WITHOUT_PF sometimes. Looking at various ways to cope (it exposes other issues too), but in the mean time just add it back here to
net/if_pfsync.h: Add back to bad files
This file does not build for WITHOUT_PF sometimes. Looking at various ways to cope (it exposes other issues too), but in the mean time just add it back here to unbreak WITHOUT_PF in some scenarios.
Sponsored by: Netflix
show more ...
|
#
aa70361d |
| 24-Dec-2021 |
Kristof Provost <kp@FreeBSD.org> |
headers: make a few more headers self-contained
Sponsored by: Rubicon Communications, LLC ("Netgate")
|
#
e51be99e |
| 16-Dec-2021 |
Kristof Provost <kp@FreeBSD.org> |
test-includes: update badfiles.inc
Rebuild badfiles.inc after recent fixes.
Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D33506
|
#
dd55767b |
| 15-Dec-2021 |
Warner Losh <imp@FreeBSD.org> |
Test various header files to ensure they can be included by themselves.
A number of header files in sys/* have, going back to 7th Edition Unix in 1979, reqiured other files (like sys/types.h) to com
Test various header files to ensure they can be included by themselves.
A number of header files in sys/* have, going back to 7th Edition Unix in 1979, reqiured other files (like sys/types.h) to compile. Likewise the 4BSD networking code has had prerequisites. However, going back to around the turn of the 21st century, other systems have made them be independently include-able (wide-spread header include protection post-dates 7th edition Unix by maybe 3 or so years judging from USENET source postings). Start down the path of making them all independently include-able by creating this test that fails buildworld when they are not.
The file 'badfiles.inc' contains a list of the currently broken files that cannot be included w/o any prerequisites. As files are fixed, 'make badfiles.inc' should be re-run to remove them from the list. Note: All files that start with an underscore are considered internal and not tested.
Please note: once a file is removed from badfiles.inc, it must pass on all architectures. Buildworld through at least the _includes target is needed to ensure its working (though a buildkernel should also be done on all architectures as well).
Sponsored by: Netflix Reviewed by: brooks, markj Differential Revision: https://reviews.freebsd.org/D32498
show more ...
|