aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cal.c
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 /coreutils/cal.c
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 'coreutils/cal.c')
-rw-r--r--coreutils/cal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c
index f8fc0b0d3..37aca00bb 100644
--- a/coreutils/cal.c
+++ b/coreutils/cal.c
@@ -30,11 +30,11 @@
30#define MAXDAYS 42 /* max slots in a month array */ 30#define MAXDAYS 42 /* max slots in a month array */
31#define SPACE -1 /* used in day array */ 31#define SPACE -1 /* used in day array */
32 32
33static const unsigned char days_in_month[] = { 33static const unsigned char days_in_month[] ALIGN1 = {
34 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 34 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
35}; 35};
36 36
37static const unsigned char sep1752[] = { 37static const unsigned char sep1752[] ALIGN1 = {
38 1, 2, 14, 15, 16, 38 1, 2, 14, 15, 16,
39 17, 18, 19, 20, 21, 22, 23, 39 17, 18, 19, 20, 21, 22, 23,
40 24, 25, 26, 27, 28, 29, 30 40 24, 25, 26, 27, 28, 29, 30