projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e40ee
)
binman: Drop __bss_size variable in bss_data.c
author
Simon Glass
<sjg@chromium.org>
Tue, 18 Jul 2023 13:24:00 +0000
(07:24 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 20 Jul 2023 20:10:58 +0000
(14:10 -0600)
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>
tools/binman/test/bss_data.c
patch
|
blob
|
history
diff --git
a/tools/binman/test/bss_data.c
b/tools/binman/test/bss_data.c
index
4f9b64c
..
7047a3b
100644
(file)
--- 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;