aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/old_e2fsprogs/e2p
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /e2fsprogs/old_e2fsprogs/e2p
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-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.c4
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
15static const char * const os_tab[] = 15static 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 */
43int e2p_string2os(char *str) 43int 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++) {