diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-12 17:06:13 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-12 17:06:13 +0000 |
commit | 5f9c9ae2f22b509a61aaab99aa7bfe28f4dfb914 (patch) | |
tree | c03a9e31e7269a83970e9847300f0550742c5368 /sys/powerpc/include | |
parent | f08613087a9756886a1f219b67b0e79a1efd5e8c (diff) | |
download | src-5f9c9ae2f22b509a61aaab99aa7bfe28f4dfb914.tar.gz src-5f9c9ae2f22b509a61aaab99aa7bfe28f4dfb914.zip |
Remove checks for __CC_SUPPORTS_WARNING assuming it is always true.
All supported compilers (modern versions of GCC and clang) support
this.
PR: 263102 (exp-run)
Reviewed by: brooks, imp
Differential Revision: https://reviews.freebsd.org/D34803
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/limits.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h index 5a7b831b3089..f2a4bf75fe2c 100644 --- a/sys/powerpc/include/limits.h +++ b/sys/powerpc/include/limits.h @@ -35,11 +35,7 @@ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ -#include <sys/cdefs.h> - -#ifdef __CC_SUPPORTS_WARNING #warning "machine/limits.h is deprecated. Include sys/limits.h instead." -#endif #include <sys/limits.h> |