diff options
author | Denys Vlasenko | 2022-02-06 19:53:10 +0100 |
---|---|---|
committer | Denys Vlasenko | 2022-02-06 19:53:10 +0100 |
commit | ca466f385ac985a8b3491daa9f326dc480cdee70 (patch) | |
tree | 2d0635c1a295f02e354d9a6b94c70d1d3d64ddb0 /miscutils | |
parent | 4f40735c87f8292a87c066b3b7099b0be007cf59 (diff) | |
download | busybox-ca466f385ac985a8b3491daa9f326dc480cdee70.zip busybox-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.gz |
*: slap on a few ALIGN* where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map"
function old new delta
.rodata 108586 108460 -126
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-126) Total: -126 bytes
text data bss dec hex filename
970412 4219 1848 976479 ee65f busybox_old
970286 4219 1848 976353 ee5e1 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/bc.c | 2 | ||||
-rw-r--r-- | miscutils/man.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index ae370ff..ab785bb 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c @@ -6011,7 +6011,7 @@ static BC_STATUS zxc_program_assign(char inst) #endif if (ib || sc || left->t == XC_RESULT_OBASE) { - static const char *const msg[] = { + static const char *const msg[] ALIGN_PTR = { "bad ibase; must be [2,16]", //XC_RESULT_IBASE "bad obase; must be [2,"BC_MAX_OBASE_STR"]", //XC_RESULT_OBASE "bad scale; must be [0,"BC_MAX_SCALE_STR"]", //XC_RESULT_SCALE diff --git a/miscutils/man.c b/miscutils/man.c index d319e8b..deaf9e5 100644 --- a/miscutils/man.c +++ b/miscutils/man.c @@ -303,7 +303,7 @@ int man_main(int argc UNUSED_PARAM, char **argv) config_close(parser); if (!man_path_list) { - static const char *const mpl[] = { "/usr/man", "/usr/share/man", NULL }; + static const char *const mpl[] ALIGN_PTR = { "/usr/man", "/usr/share/man", NULL }; man_path_list = (char**)mpl; /*count_mp = 2; - not used below anyway */ } |