From nobody Thu Feb 12 13:57:48 2026 X-Original-To: dev-commits-src-main@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 4fBcM53jtwz6RfV3 for ; Thu, 12 Feb 2026 13:57:53 +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 4fBcM52yb7z3lr7 for ; Thu, 12 Feb 2026 13:57:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770904673; 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=byTRCNOePQ3A4ZHq1rPa7UXfyZrTTgI3nkhnBSGSeVk+q4SbksrTAM0YlubijqV4yryyRq sizlmnxV84pMhe8SvwzqsENRodvje6sb9/NXxJEJrDi7pqYVmz+fk4OMqR8kU5nYCCppru xPlhr4q+T3zx6+ctSr6ixfWMEbB/DDzfBHKNf3YpxY5Re7J6nDMlHpSW18TWFKuw/YVpMs 2w8pkmHnnGcEZneQR1UEYaDlqt8/QjyHchMBT6OtPX6+uN2pH38DIYH4RmS2mY1ts2LmZz ax/wNqHCOfk9B0Er4qZk/dCRpoHFv7JxTRLxuzl6j639Xasq6ElTC/y9wIWnHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770904673; a=rsa-sha256; cv=none; b=di3ZQ5Ogcf24DsYtWWDjewLoTTo5WSgA5jboJmCCU98a4t4ovUp1tU2XH2VmDSkFN4jqNE k6xOzHY5GIokjpkWwNhcHbCeVesUKEPXIHi1/fGzf2CO5bt0iC/kbT8xZMpsRHwvbaqVvN k77tUX+IwHQo77//q9qxVHjbqdUnyipYP2wvNYZo0/U5Bxfy2aP/r5olyvPQDdzHuIEqlB NC31NCzeNymgFTUPPrAsy+3c5QWawN0tKGxYOYBGTsN3rfyl/+DINwuMrUlCZuTzd0iuMU Ky8VSG9epAjLwMXiIPo4EQJ7/Nw8X7Gx2X9jCu9RvnJxHHp1DFXVzTY0vqBKLw== 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=1770904673; 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=vAjmjLAcQVbkC7sUW8MjHY+Iaizl/7yve2k74dxc2gFU0VPYMgaXbHUFumZ5CaRGMRtpMb cImtn+6itKy2riXuQ+YuGHCg12f90FYvMNuL4lDTgFUYTnKOX6D2GgERpE9nlyRfI9ElqG +ihb5v142/nkC1o0Ol/ba3kqq4KVUsoe210lchASSgzevglBnqpwzWsMzNwXKg8dZ7375n Cd3tYM4Oezo5H43f31UNcYCNeZzh3HvToLalOe35JaKmgniDSV9Rlb0INhk3iNPbjWIIEE UxmrZrJMZyVW6GHOyx7G6MSgZjp9DyHKen4dGSF37pRkuo2cy/tJxE1TEE27DA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fBcM52VNqzfld for ; Thu, 12 Feb 2026 13:57:53 +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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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) {