[newlib-cygwin/main] libc: Purge unneeded cdefs.h

Jeff Johnston jjohnstn@sourceware.org
Mon Jul 13 22:32:28 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=34d9fa12455ca5d9cf875c53b1f6782e364d207c

commit 34d9fa12455ca5d9cf875c53b1f6782e364d207c
Author: Warner Losh <imp@FreeBSD.org>
Date:   Sat Jun 20 11:52:07 2026 +0200

    libc: Purge unneeded cdefs.h
    
    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

Diff:
---
 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>


More information about the Newlib-cvs mailing list