summaryrefslogtreecommitdiffhomepage
path: root/editors
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-22 18:09:21 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-22 18:09:21 +0200
commit3e134ebf6afb5552b3619f98f6a2ffa01a07eebb (patch)
tree6cafe5f8e63a88e4ab7b2a449dc62dd3afb3c8bf /editors
parent663d1da1e68b15397c00d6a094f78c2cf08358ea (diff)
*: 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 'editors')
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c
index ed48de17f..6bce25b2c 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -473,7 +473,7 @@ static int parse_subst_cmd(sed_cmd_t *sed_cmd, const char *substr)
*/
static const char *parse_cmd_args(sed_cmd_t *sed_cmd, const char *cmdstr)
{
- static const char cmd_letters[] = "saicrw:btTydDgGhHlnNpPqx={}";
+ static const char cmd_letters[] ALIGN1 = "saicrw:btTydDgGhHlnNpPqx={}";
enum {
IDX_s = 0,
IDX_a,
diff --git a/editors/vi.c b/editors/vi.c
index f355712ab..974f9978b 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -251,7 +251,7 @@ enum {
// cmds modifying text[]
// vda: removed "aAiIs" as they switch us into insert mode
// and remembering input for replay after them makes no sense
-static const char modifying_cmds[] = "cCdDJoOpPrRxX<>~";
+static const char modifying_cmds[] ALIGN1 = "cCdDJoOpPrRxX<>~";
#endif
enum {