atomic: Remove cdefs.h includes from atomic_*.h
authorMark Johnston <markj@FreeBSD.org>
Mon, 16 Jan 2023 13:03:20 +0000 (08:03 -0500)
committerMark Johnston <markj@FreeBSD.org>
Mon, 16 Jan 2023 13:03:20 +0000 (08:03 -0500)
commitf7e2f98bffdafff65012fb02ad838c30b7e3502f
tree6743115b99e7b87fc8277cd870cbc2fac5bedc3b
parent5c2b216a1cd8de3aabfa9e76ca8f38774acd591e
atomic: Remove cdefs.h includes from atomic_*.h

Avoid including cdefs.h in system headers.  Both headers now include
types.h, and we can assume that that pulls in cdefs.h (required for
__typeof usage in some of the atomic macro expansions).

No functional change intended.

Reviewed by: imp, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D38039
sys/sys/atomic_common.h
sys/sys/atomic_san.h