aboutsummaryrefslogtreecommitdiff
path: root/tools/binman
diff options
context:
space:
mode:
authorSimon Glass2023-07-18 07:24:00 -0600
committerSimon Glass2023-07-20 14:10:58 -0600
commit073fc36c17cfa283e8aff3aec522a9614e915542 (patch)
tree0f598f42b4dccafab16d50151729bb44d5ab810b /tools/binman
parentb1e40ee73421018a42000e3d462708625c73a48f (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.c3
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;