aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 19:53:10 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 19:53:10 +0100
commitca466f385ac985a8b3491daa9f326dc480cdee70 (patch)
tree2d0635c1a295f02e354d9a6b94c70d1d3d64ddb0 /miscutils
parent4f40735c87f8292a87c066b3b7099b0be007cf59 (diff)
downloadbusybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.gz
busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.bz2
busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.zip
*: 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.c2
-rw-r--r--miscutils/man.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index ae370ff55..ab785bbc8 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -6011,7 +6011,7 @@ static BC_STATUS zxc_program_assign(char inst)
6011#endif 6011#endif
6012 6012
6013 if (ib || sc || left->t == XC_RESULT_OBASE) { 6013 if (ib || sc || left->t == XC_RESULT_OBASE) {
6014 static const char *const msg[] = { 6014 static const char *const msg[] ALIGN_PTR = {
6015 "bad ibase; must be [2,16]", //XC_RESULT_IBASE 6015 "bad ibase; must be [2,16]", //XC_RESULT_IBASE
6016 "bad obase; must be [2,"BC_MAX_OBASE_STR"]", //XC_RESULT_OBASE 6016 "bad obase; must be [2,"BC_MAX_OBASE_STR"]", //XC_RESULT_OBASE
6017 "bad scale; must be [0,"BC_MAX_SCALE_STR"]", //XC_RESULT_SCALE 6017 "bad scale; must be [0,"BC_MAX_SCALE_STR"]", //XC_RESULT_SCALE
diff --git a/miscutils/man.c b/miscutils/man.c
index d319e8bba..deaf9e5ab 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -303,7 +303,7 @@ int man_main(int argc UNUSED_PARAM, char **argv)
303 config_close(parser); 303 config_close(parser);
304 304
305 if (!man_path_list) { 305 if (!man_path_list) {
306 static const char *const mpl[] = { "/usr/man", "/usr/share/man", NULL }; 306 static const char *const mpl[] ALIGN_PTR = { "/usr/man", "/usr/share/man", NULL };
307 man_path_list = (char**)mpl; 307 man_path_list = (char**)mpl;
308 /*count_mp = 2; - not used below anyway */ 308 /*count_mp = 2; - not used below anyway */
309 } 309 }