[PATCH v2 5/8] libc: Purge unneeded cdefs.h
Sebastian Huber
sebastian.huber@embedded-brains.de
Sat Jun 20 09:52:07 GMT 2026
From: Warner Losh <imp@FreeBSD.org>
These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42385
---
newlib/libc/stdlib/imaxdiv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/newlib/libc/stdlib/imaxdiv.c b/newlib/libc/stdlib/imaxdiv.c
index 045ba2948..70808bcc1 100644
--- a/newlib/libc/stdlib/imaxdiv.c
+++ b/newlib/libc/stdlib/imaxdiv.c
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <inttypes.h>
#include <stdint.h>
--
2.51.0
More information about the Newlib
mailing list