diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
commit | 6ca409e0e4c198fe3081346eebbae3f068fe605a (patch) | |
tree | 060cb05d99220a1eda399194d1209c269f0e8cd8 /e2fsprogs/old_e2fsprogs/e2p | |
parent | 4185548984357df91311f30c8e43d95f33922576 (diff) | |
download | busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2 busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip |
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount
of padding (unfortunately, needs hand editing ATM).
*: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts
size saving: 0.5k
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/e2p')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/e2p/ostype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/e2p/ostype.c b/e2fsprogs/old_e2fsprogs/e2p/ostype.c index 0e111d408..1abe2ba91 100644 --- a/e2fsprogs/old_e2fsprogs/e2p/ostype.c +++ b/e2fsprogs/old_e2fsprogs/e2p/ostype.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <string.h> | 12 | #include <string.h> |
13 | #include <stdlib.h> | 13 | #include <stdlib.h> |
14 | 14 | ||
15 | static const char * const os_tab[] = | 15 | static const char *const os_tab[] = |
16 | { "Linux", | 16 | { "Linux", |
17 | "Hurd", | 17 | "Hurd", |
18 | "Masix", | 18 | "Masix", |
@@ -42,7 +42,7 @@ char *e2p_os2string(int os_type) | |||
42 | */ | 42 | */ |
43 | int e2p_string2os(char *str) | 43 | int e2p_string2os(char *str) |
44 | { | 44 | { |
45 | const char * const *cpp; | 45 | const char *const *cpp; |
46 | int i = 0; | 46 | int i = 0; |
47 | 47 | ||
48 | for (cpp = os_tab; *cpp; cpp++, i++) { | 48 | for (cpp = os_tab; *cpp; cpp++, i++) { |