summaryrefslogtreecommitdiff
path: root/libbb/mode_string.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-04-22 18:09:21 +0200
committerDenys Vlasenko2016-04-22 18:09:21 +0200
commit3e134ebf6afb5552b3619f98f6a2ffa01a07eebb (patch)
tree6cafe5f8e63a88e4ab7b2a449dc62dd3afb3c8bf /libbb/mode_string.c
parent663d1da1e68b15397c00d6a094f78c2cf08358ea (diff)
downloadbusybox-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.zip
busybox-3e134ebf6afb5552b3619f98f6a2ffa01a07eebb.tar.gz
*: 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 'libbb/mode_string.c')
-rw-r--r--libbb/mode_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/mode_string.c b/libbb/mode_string.c
index f1afe7d..934eb6d 100644
--- a/libbb/mode_string.c
+++ b/libbb/mode_string.c
@@ -87,9 +87,9 @@ const char* FAST_FUNC bb_mode_string(mode_t mode)
/* The previous version used "0pcCd?bB-?l?s???". However, the '0', 'C',
* and 'B' types don't appear to be available on linux. So I removed them. */
-static const char type_chars[16] = "?pc?d?b?-?l?s???";
+static const char type_chars[16] ALIGN1 = "?pc?d?b?-?l?s???";
/********************************** 0123456789abcdef */
-static const char mode_chars[7] = "rwxSTst";
+static const char mode_chars[7] ALIGN1 = "rwxSTst";
const char* FAST_FUNC bb_mode_string(mode_t mode)
{