diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-22 18:09:21 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-04-22 18:09:21 +0200 |
commit | 3e134ebf6afb5552b3619f98f6a2ffa01a07eebb (patch) | |
tree | 6cafe5f8e63a88e4ab7b2a449dc62dd3afb3c8bf /procps | |
parent | 663d1da1e68b15397c00d6a094f78c2cf08358ea (diff) | |
download | busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.tar.gz busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.tar.bz2 busybox-w32-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.zip |
*: slap on a few ALIGN1/2s where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map"
text data bss dec hex filename
829901 4086 1904 835891 cc133 busybox_before
829665 4086 1904 835655 cc047 busybox
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/top.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/top.c b/procps/top.c index 640bcdc6d..73cd285f0 100644 --- a/procps/top.c +++ b/procps/top.c | |||
@@ -265,9 +265,9 @@ static int mult_lvl_cmp(void* a, void* b) | |||
265 | static NOINLINE int read_cpu_jiffy(FILE *fp, jiffy_counts_t *p_jif) | 265 | static NOINLINE int read_cpu_jiffy(FILE *fp, jiffy_counts_t *p_jif) |
266 | { | 266 | { |
267 | #if !ENABLE_FEATURE_TOP_SMP_CPU | 267 | #if !ENABLE_FEATURE_TOP_SMP_CPU |
268 | static const char fmt[] = "cpu %llu %llu %llu %llu %llu %llu %llu %llu"; | 268 | static const char fmt[] ALIGN1 = "cpu %llu %llu %llu %llu %llu %llu %llu %llu"; |
269 | #else | 269 | #else |
270 | static const char fmt[] = "cp%*s %llu %llu %llu %llu %llu %llu %llu %llu"; | 270 | static const char fmt[] ALIGN1 = "cp%*s %llu %llu %llu %llu %llu %llu %llu %llu"; |
271 | #endif | 271 | #endif |
272 | int ret; | 272 | int ret; |
273 | 273 | ||
@@ -519,7 +519,7 @@ enum { | |||
519 | 519 | ||
520 | static void parse_meminfo(unsigned long meminfo[MI_MAX]) | 520 | static void parse_meminfo(unsigned long meminfo[MI_MAX]) |
521 | { | 521 | { |
522 | static const char fields[] = | 522 | static const char fields[] ALIGN1 = |
523 | "MemTotal\0" | 523 | "MemTotal\0" |
524 | "MemFree\0" | 524 | "MemFree\0" |
525 | "MemShared\0" | 525 | "MemShared\0" |