[newlib-cygwin/main] libc: Remove leftover comments

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


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

commit 52c7df9e6fdb27d869bab28dab48eb3fe958cf5b
Author: Aymeric Wibo <obiwac@FreeBSD.org>
Date:   Sat Jun 20 11:52:09 2026 +0200

    libc: Remove leftover comments
    
    These comments refer to a comment in div.c which doesn't exist anymore.
    
    Fixes:  7c7299df76e2 ("libc: Remove support for pre-C99 C standards")
    Sponsored by:   Klara, Inc.

Diff:
---
 newlib/libc/stdlib/imaxdiv.c | 1 -
 newlib/libc/stdlib/ldiv.c    | 2 --
 2 files changed, 3 deletions(-)

diff --git a/newlib/libc/stdlib/imaxdiv.c b/newlib/libc/stdlib/imaxdiv.c
index 1bb73a025..b88b4a6a5 100644
--- a/newlib/libc/stdlib/imaxdiv.c
+++ b/newlib/libc/stdlib/imaxdiv.c
@@ -29,7 +29,6 @@
 #include <inttypes.h>
 #include <stdint.h>
 
-/* See comments in div.c for implementation details. */
 imaxdiv_t
 imaxdiv(intmax_t numer, intmax_t denom)
 {
diff --git a/newlib/libc/stdlib/ldiv.c b/newlib/libc/stdlib/ldiv.c
index 4981e3b21..34052b6c9 100644
--- a/newlib/libc/stdlib/ldiv.c
+++ b/newlib/libc/stdlib/ldiv.c
@@ -85,8 +85,6 @@ ldiv (long num,
 {
 	ldiv_t r;
 
-	/* see div.c for comments */
-
 	r.quot = num / denom;
 	r.rem = num % denom;


More information about the Newlib-cvs mailing list