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 /miscutils/setserial.c | |
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 'miscutils/setserial.c')
-rw-r--r-- | miscutils/setserial.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/miscutils/setserial.c b/miscutils/setserial.c index dfed3306e..8b5c4a9c7 100644 --- a/miscutils/setserial.c +++ b/miscutils/setserial.c | |||
@@ -257,7 +257,7 @@ enum print_mode | |||
257 | #define CTL_CLOSE (1 << 3) | 257 | #define CTL_CLOSE (1 << 3) |
258 | #define CTL_NODIE (1 << 4) | 258 | #define CTL_NODIE (1 << 4) |
259 | 259 | ||
260 | static const char serial_types[] = | 260 | static const char serial_types[] ALIGN1 = |
261 | "unknown\0" /* 0 */ | 261 | "unknown\0" /* 0 */ |
262 | "8250\0" /* 1 */ | 262 | "8250\0" /* 1 */ |
263 | "16450\0" /* 2 */ | 263 | "16450\0" /* 2 */ |
@@ -288,7 +288,7 @@ static const char serial_types[] = | |||
288 | # define MAX_SERIAL_TYPE 13 | 288 | # define MAX_SERIAL_TYPE 13 |
289 | #endif | 289 | #endif |
290 | 290 | ||
291 | static const char commands[] = | 291 | static const char commands[] ALIGN1 = |
292 | "spd_normal\0" | 292 | "spd_normal\0" |
293 | "spd_hi\0" | 293 | "spd_hi\0" |
294 | "spd_vhi\0" | 294 | "spd_vhi\0" |
@@ -404,8 +404,8 @@ static const uint16_t setbits[CMD_FLAG_LAST + 1] = | |||
404 | ASYNC_LOW_LATENCY | 404 | ASYNC_LOW_LATENCY |
405 | }; | 405 | }; |
406 | 406 | ||
407 | static const char STR_INFINITE[] = "infinite"; | 407 | #define STR_INFINITE "infinite" |
408 | static const char STR_NONE[] = "none"; | 408 | #define STR_NONE "none" |
409 | 409 | ||
410 | static const char *uart_type(int type) | 410 | static const char *uart_type(int type) |
411 | { | 411 | { |