Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 463C4EB64DA for ; Wed, 28 Jun 2023 11:44:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1B9D786646; Wed, 28 Jun 2023 13:44:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="axcwhnX1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 862CD86399; Wed, 28 Jun 2023 13:42:43 +0200 (CEST) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7D0B686399 for ; Wed, 28 Jun 2023 13:42:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b5e7dba43cso62632641fa.1 for ; Wed, 28 Jun 2023 04:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687952545; x=1690544545; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=J/OX4+TDGfGxFVEbqkTtNJfOh7FVaBiKnozjNtwR2WM=; b=axcwhnX15C53RzXAAq/uc7tY6fMHBZ4X/wZ7J0p16nPOk+aNbAaHoqbO5Euaa2nuR6 hIaJD3jx8eInysGrva8UTW8Lt7PJ4tC2sUr/LRQwv9azZDBwKlp0zOCvSiBQGSamcgso B/eLxqi2LwlFo2nVM60/a9XhG5D4QyAza08jQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687952545; x=1690544545; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J/OX4+TDGfGxFVEbqkTtNJfOh7FVaBiKnozjNtwR2WM=; b=F+qA5eASzx1ATlrnWl2R2XKJ6LOMZY2gTHVOocaC4hcF1/N3gMUrcMz5sC12/ujRTd yHsiVqoL69sMJXpOJxMYGjN3uNQF7gE0+ZNQxoVMCLik+YobnhOzJUvzKZlBS+F+l49u noaRgt4hhwAgM5atvNT6clSb3s+H+hWyeqTbY2c/YeAm/dROFv7ZF/dJRXuQaqoY1Rhu a0LqUjWuGIzya2HQ7sYtKRr3/eA25jXRtbo4RrFv4bIaH5U22aFBidS2xG4Y/efEXpJG ZYx8fuu0B9sKU1MVpxSYgzio0LdVahrGFgjrWg8KlmYAVW2LwjcIir1XqGNurf3fZglM AyrQ== X-Gm-Message-State: AC+VfDyr4mtjeHuonjIte/SwaA997rs6ghTrglpSuELyNykPB6tzeVtm c2/DEvdCVq4/aRIS38ehQsGSeCFxhrxIxPyXAj0Liw== X-Google-Smtp-Source: ACHHUZ5ZH23DXnIuw3UudDagSjHdO3BZOM/BGfPKdqimDX5LT03XWh5x3lFFgUvjdfAwyJb5eLpXKA== X-Received: by 2002:a2e:9a96:0:b0:2b6:9f9b:536 with SMTP id p22-20020a2e9a96000000b002b69f9b0536mr6444538lji.35.1687952545395; Wed, 28 Jun 2023 04:42:25 -0700 (PDT) Received: from sjg1.praguecc.cz ([193.85.242.128]) by smtp.gmail.com with ESMTPSA id r18-20020aa7cb92000000b0051bec856cb4sm4676423edt.50.2023.06.28.04.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 04:42:25 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Jan Kiszka , Simon Glass , Alper Nebi Yasak , Neha Malcom Francis , Peng Fan , Philippe Reynes , Stefan Herbrechtsmeier Subject: [PATCH 08/12] binman: Drop __bss_size variable in bss_data.c Date: Wed, 28 Jun 2023 12:41:41 +0100 Message-ID: <20230628114149.439723-9-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog In-Reply-To: <20230628114149.439723-1-sjg@chromium.org> References: <20230628114149.439723-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This is not needed since the linker script sets it up. Drop the variable to avoid confusion. Fix the prototype for main() while we are here. Signed-off-by: Simon Glass --- tools/binman/test/bss_data.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/binman/test/bss_data.c b/tools/binman/test/bss_data.c index 4f9b64cef9ef..7047a3bb014d 100644 --- a/tools/binman/test/bss_data.c +++ b/tools/binman/test/bss_data.c @@ -7,9 +7,8 @@ */ int bss_data[10]; -int __bss_size = sizeof(bss_data); -int main() +int main(void) { bss_data[2] = 2; -- 2.41.0.162.gfafddb0af9-goog