]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make <sys/systm.h> more self-contained.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 8 Mar 2023 23:05:10 +0000 (15:05 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 8 Mar 2023 23:05:10 +0000 (15:05 -0800)
commiteee4264c9fcb24e53162c86b086832492892d1f3
treea6af807d226f4bd807687a4d3214ab0f9347d89a
parentcc36164a77f9a2f40e0ac103c9c3154aacca6d29
Make <sys/systm.h> more self-contained.

Replace <sys/cdefs.h> with <sys/types.h>.  Other includes need types
defined in <sys/types.h> and <sys/types.h> includes <sys/cdefs.h>
already.

While here, move the <machine/*.h> headers below the <sys/*.h>
headers.

Reviewed by: imp, kib
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D38841
sys/sys/systm.h