From nobody Thu Feb 12 13:57:48 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fBcM04bPzz6RfWB for ; Thu, 12 Feb 2026 13:57:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fBcM03361z3ljF for ; Thu, 12 Feb 2026 13:57:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770904668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zf4lKbaE33PfeuqQysMoFX8X5kOG1UNpA383X8mU6Ng=; b=PO1SnWVfjLiudpKd0uMKgRGUmGNqUw5vHw2I50LSzQEmJsxSHCex0yCwyZJdr4w8KCijpC pwflTu+Ji2M7BE4VqTR4lAvjQ/jpnhHxW3AmUkNFYtvVghAF5gB3Eq0+hAYfik77M5T7ua XyXUMYcsRkKtSt+gNy/RbObrKGC9c6pK0S45hPn4W/NL3cULnjxzR6eEWn11FlSgmGdgZK u3oa6KTIAYaPBqq5uOhkhuII5/lc+Rs40Kv9kSLemORogfin8gEfEm56NfcQpYHTwFBeBD cCrZ0Jb4Gu23GwNs+hp1Tdh4m5jnNg79Cdtb4rv1r4QIGM58Fr36Y7tLNBoY7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770904668; a=rsa-sha256; cv=none; b=OG2kypXjLyKS/Q33drwrbYqjQUKcHT/JjEmr1EAuiTwZBOfOs7GBHbvtfqNctuR0hBl+Eh 0NdLwmerxtstKAfgeaq/yGChrbzdsqtB02t2WLxM/SlAmP/67YxReVmzK6Hqd9nafyZ0/l TJn8dhAlrQBYAcgH8bBSvzcOU/4En9PHq/vfAs90YSl7pYqlh7OYOA41Tr4qHKTZdk3v7p xF/k5hN4a1kwtawcNk2Gk4DqwQqw9yP1OsMLXOZ2eHz3gOtCL4h0ThVBk9MVwCPsWu0hUA HUlNTr89o6XDzAqUY+lJIEM4R688pY1d3upwj6xXBepue7fsoQ6SX9P/KdyNSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770904668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zf4lKbaE33PfeuqQysMoFX8X5kOG1UNpA383X8mU6Ng=; b=ByYpUDgUuSsHRYXSxuahqoypnG0/U7nDy3MegaxkitNYrpsNQF9A1CojsoUNITUJzMM/uu nwj4eZLJhvzuCVQeDPn6svC2WFfIYsW3IR2OYEMgFMiaRS3JvS4V0po+VOUrEpwpeYzo4F NrrA4dTVR2bN2w4s28y4J4rD/JgVl6YPAAAX4VEX4hj4YRILZBuuemo6ma5PnLYlrIyVZk bjs5cww7VIou/3QUyL+QaZXO8tOUUrF39aBKKADn3/PULgjlBLH/XuNsp0buHBc7E+wpJb KiQoak6TZdsV85nLGHG5sJAGyS9a4X9TswlqeBtv0lwjyPy1cvPD0xygff1FNQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fBcM02X8yzfbY for ; Thu, 12 Feb 2026 13:57:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3ca5d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 12 Feb 2026 13:57:48 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Aymeric Wibo Subject: git: c3f945eac453 - main - libc: Remove leftover comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: obiwac X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c3f945eac4538de572600787a73221f2549c62c8 Auto-Submitted: auto-generated Date: Thu, 12 Feb 2026 13:57:48 +0000 Message-Id: <698ddc5c.3ca5d.31afeffd@gitrepo.freebsd.org> The branch main has been updated by obiwac: URL: https://cgit.FreeBSD.org/src/commit/?id=c3f945eac4538de572600787a73221f2549c62c8 commit c3f945eac4538de572600787a73221f2549c62c8 Author: Aymeric Wibo AuthorDate: 2026-02-12 13:55:01 +0000 Commit: Aymeric Wibo CommitDate: 2026-02-12 13:57:38 +0000 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. --- lib/libc/stdlib/imaxdiv.c | 1 - lib/libc/stdlib/ldiv.c | 2 -- lib/libc/stdlib/lldiv.c | 1 - 3 files changed, 4 deletions(-) diff --git a/lib/libc/stdlib/imaxdiv.c b/lib/libc/stdlib/imaxdiv.c index bf9737a3c47a..a8b4df2f3904 100644 --- a/lib/libc/stdlib/imaxdiv.c +++ b/lib/libc/stdlib/imaxdiv.c @@ -28,7 +28,6 @@ #include -/* See comments in div.c for implementation details. */ imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom) { diff --git a/lib/libc/stdlib/ldiv.c b/lib/libc/stdlib/ldiv.c index 4c73bcc14af4..7b785ef66c16 100644 --- a/lib/libc/stdlib/ldiv.c +++ b/lib/libc/stdlib/ldiv.c @@ -39,8 +39,6 @@ ldiv(long num, long denom) { ldiv_t r; - /* see div.c for comments */ - r.quot = num / denom; r.rem = num % denom; diff --git a/lib/libc/stdlib/lldiv.c b/lib/libc/stdlib/lldiv.c index 6feeb74bacd6..cdce0a4f6a27 100644 --- a/lib/libc/stdlib/lldiv.c +++ b/lib/libc/stdlib/lldiv.c @@ -28,7 +28,6 @@ #include -/* See comments in div.c for implementation details. */ lldiv_t lldiv(long long numer, long long denom) {