| Message ID | 20251201170529.3237986-22-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1764608950; bh=adMada9xJXFYclOvVbTDIPTdIdO1ESxsrbhOTG8dpdw=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=MGS+US5ScBPKF1XzZs1IDof+ZQSsG1wuPaLE1JmgEKZOprOLPO8yZ5GmBPnqZ8ex4 MJwAxA7k89hHOOIEthg8qpP5vmskCXEP3YjTFpmpNNU3LKv1vrJLOXcGdVk9kevYgC WLpRgbR2TbAfVm7Crdc/byudyfea5AIYKi4c7RWzJSP/x5im5yaMyMRlipD1MveX+1 /j3dfBXsopxuQKu6nPfIjV/hOzaLzDqrsIwcZ8zYd07JILO8ShbykG/jB3V/7211zg poTCbSvhqEyo9iF7XYJ7Yu4ZTTcoY3Eua2dflpwX0P7+AfIFuEXKqZumXjxac2tLdO 02AP75Hqrlltw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7C697688C5 for <u-boot-concept@u-boot.org>; Mon, 1 Dec 2025 10:09:10 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id stqyvbmejDjf for <u-boot-concept@u-boot.org>; Mon, 1 Dec 2025 10:09:10 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1764608950; bh=adMada9xJXFYclOvVbTDIPTdIdO1ESxsrbhOTG8dpdw=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=MGS+US5ScBPKF1XzZs1IDof+ZQSsG1wuPaLE1JmgEKZOprOLPO8yZ5GmBPnqZ8ex4 MJwAxA7k89hHOOIEthg8qpP5vmskCXEP3YjTFpmpNNU3LKv1vrJLOXcGdVk9kevYgC WLpRgbR2TbAfVm7Crdc/byudyfea5AIYKi4c7RWzJSP/x5im5yaMyMRlipD1MveX+1 /j3dfBXsopxuQKu6nPfIjV/hOzaLzDqrsIwcZ8zYd07JILO8ShbykG/jB3V/7211zg poTCbSvhqEyo9iF7XYJ7Yu4ZTTcoY3Eua2dflpwX0P7+AfIFuEXKqZumXjxac2tLdO 02AP75Hqrlltw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 6D138688B8 for <u-boot-concept@u-boot.org>; Mon, 1 Dec 2025 10:09:10 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1764608948; bh=TacCIdwtcSUbkbFhAeC0sk9g8uhR9FENlrNTJ1do3bc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QMs1/GHi2pCDXj3RRiZd6V/o+R4fpPNtR0KJtVExFcYYel661R0B+Oh5MWgSgKm7O DTbYCiOrDOEYrSqXf0xT4k/hof/BhYZGjXIFUtWqbnpoQdvXZ1vAkWAx2A3caoWnM6 uQFWH/brNt/B/EgfNT2VtlFXDvQVeIUJvb6dC/fuHbX7+Cd8c2dWGtsGMWHDlyk2uq mbpSbkSpjQSf6IacI8Uov90YU9rxHj8N62leSG2oYegxRApVrf/ibw4pf8zHBIYpZE iMjxdJO4EKmyPJ976HbJM+eWaH9Q1oUGoAbloah9dSN9O9/I0EvPh4i5HJQlWJVw+7 GNOLEmR7eSLwg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4F585688CD; Mon, 1 Dec 2025 10:09:08 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id mLCP4fEtrjBV; Mon, 1 Dec 2025 10:09:08 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1764608942; bh=bxH59opIv/3Sg4QZ9LZsI1yePulUyPQowHeABT+oh64=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ogmD9lRCzBjNh/ZCLndWDc7bTDP8X3WIHNEg6v0LGHxmXjeXiy+1l/lSsD6Ih0RY8 0U/+1ceviZVAAqqnkL8rCenFgBFSMvUgv/GJWn8Izo6ZlhEhetge4KIAP+wziy4q1O EPLJ1swoFPxIPt/LoxAdVknCKFjZoy8LBsoxQa2rABW7f6CjTLtTc/IFBBGKn05S0W 56lXlHYvuxOQ46STylnz8R9nzTAIuquA1xbBYdVxGKdglqDJre9MGbUpmPT3V60A+Z nuYFyy3La8WZPhska8WULWYPgL9qzHibscD69sSleOzTG2JNsAorIx0ThPhGUCwFXY r2ll1HNIV4Ehw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 3FD5A688C0; Mon, 1 Dec 2025 10:09:02 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Mon, 1 Dec 2025 10:05:00 -0700 Message-ID: <20251201170529.3237986-22-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251201170529.3237986-1-sjg@u-boot.org> References: <20251201170529.3237986-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: GDCP2PA4RFX3QWGMEHT4DPORPPAL5FCF X-Message-ID-Hash: GDCP2PA4RFX3QWGMEHT4DPORPPAL5FCF X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <simon.glass@canonical.com>, Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>, Claude <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 21/37] dlmalloc: Fix a warning with clang-15 List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/GDCP2PA4RFX3QWGMEHT4DPORPPAL5FCF/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
malloc: Import dlmalloc 2.8.6
|
|
Commit Message
Simon Glass
Dec. 1, 2025, 5:05 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Add (void) to dlmalloc_stats() function definition to match its declaration and avoid the clang-15 warning about function declarations without prototypes. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> (cherry picked from commit f88d48cc74f0e78b14fed812101d94de65e43802) --- common/dlmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/dlmalloc.c b/common/dlmalloc.c index aacc9b5db3b..03fd902c9f6 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -5553,7 +5553,7 @@ struct mallinfo dlmallinfo(void) { #endif /* NO_MALLINFO */ #if !NO_MALLOC_STATS -void dlmalloc_stats() { +void dlmalloc_stats(void) { internal_malloc_stats(gm); } #endif /* NO_MALLOC_STATS */