mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
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
This commit is contained in:
parent
cc36164a77
commit
eee4264c9f
|
@ -40,13 +40,13 @@
|
|||
#ifndef _SYS_SYSTM_H_
|
||||
#define _SYS_SYSTM_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <machine/atomic.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/callout.h>
|
||||
#include <sys/kassert.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/stdint.h> /* for people using printf mainly */
|
||||
#include <machine/atomic.h>
|
||||
#include <machine/cpufunc.h>
|
||||
|
||||
__NULLABILITY_PRAGMA_PUSH
|
||||
|
||||
|
|
Loading…
Reference in a new issue