diff options
author | Simon Glass | 2023-07-18 07:24:00 -0600 |
---|---|---|
committer | Simon Glass | 2023-07-20 14:10:58 -0600 |
commit | 073fc36c17cfa283e8aff3aec522a9614e915542 (patch) | |
tree | 0f598f42b4dccafab16d50151729bb44d5ab810b /tools/binman | |
parent | b1e40ee73421018a42000e3d462708625c73a48f (diff) |
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>
Diffstat (limited to 'tools/binman')
-rw-r--r-- | tools/binman/test/bss_data.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/binman/test/bss_data.c b/tools/binman/test/bss_data.c index 4f9b64cef9e..7047a3bb014 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; |