From: Simon Glass Date: Tue, 18 Jul 2023 13:24:00 +0000 (-0600) Subject: binman: Drop __bss_size variable in bss_data.c X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=073fc36c17cfa283e8aff3aec522a9614e915542;p=u-boot.git binman: Drop __bss_size variable in bss_data.c 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 --- diff --git a/tools/binman/test/bss_data.c b/tools/binman/test/bss_data.c index 4f9b64cef9..7047a3bb01 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;