diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2010-08-20 15:03:13 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-08-30 13:41:21 +0300 |
commit | f49f5405d6baeaf074b1803a6abc116caf130b9d (patch) | |
tree | 372643987b6ee6111028c63611df81a8bb0509c2 /ubi-utils/src/ubiattach.c | |
parent | 5beab92915cb3cdd9e479c2af05cfd9c36bf79de (diff) |
flash_eraseall: tweaks to make binary size smaller
Returning from main() instead of using exit() makes code more readable
and smaller (ARM EABI binary sizes)
text data bss dec hex filename
28882 436 44 29362 72b2 flash_eraseall
28827 432 44 29303 7277 flash_eraseall.noexit
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubiattach.c')
0 files changed, 0 insertions, 0 deletions