[PATCH v2 7/8] libc: Remove leftover comments
Sebastian Huber <[email protected]> Sat, 20 Jun 2026 11:52:09 +0200
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
From: Aymeric Wibo <[email protected]> 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. --- 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> =20 -/* 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; =20 - /* see div.c for comments */ - r.quot =3D num / denom; r.rem =3D num % denom; =20 --=20 2.51.0