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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-07-18 07:24:00 -06:00
parent b1e40ee734
commit 073fc36c17

View File

@@ -7,9 +7,8 @@
*/
int bss_data[10];
int __bss_size = sizeof(bss_data);
int main()
int main(void)
{
bss_data[2] = 2;