summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Kerola2014-02-09 18:20:29 +0100
committerKarel Zak2014-02-10 19:09:37 +0100
commit0c6dc4b99f7d56535deae5b3522ddf358547a0a3 (patch)
tree8bb12b7443c00a1c3dc970b6f39c478d3a9558c5
parentrenice: correct max priority in renice man page (diff)
downloadkernel-qcow2-util-linux-0c6dc4b99f7d56535deae5b3522ddf358547a0a3.tar.gz
kernel-qcow2-util-linux-0c6dc4b99f7d56535deae5b3522ddf358547a0a3.tar.xz
kernel-qcow2-util-linux-0c6dc4b99f7d56535deae5b3522ddf358547a0a3.zip
cal: remove unnecessary static variables
Not in use since commit 95f4adde867492563167b11ba94dba67f93809aa. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-rw-r--r--misc-utils/cal.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index 0f401116e..747694d75 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -200,25 +200,6 @@ static const int days_in_month[2][13] = {
{0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
};
-/* September 1752 is special, and has static assignments for both date
- * and Julian representations. */
-static const int d_sep1752[MAXDAYS / 2] = {
- SPACE, SPACE, 1, 2, 14, 15, 16,
- 17, 18, 19, 20, 21, 22, 23,
- 24, 25, 26, 27, 28, 29, 30
-}, j_sep1752[MAXDAYS / 2] = {
- SPACE, SPACE, 245, 246, 258, 259, 260,
- 261, 262, 263, 264, 265, 266, 267,
- 268, 269, 270, 271, 272, 273, 274
-}, empty[MAXDAYS] = {
- SPACE, SPACE, SPACE, SPACE, SPACE, SPACE, SPACE,
- SPACE, SPACE, SPACE, SPACE, SPACE, SPACE, SPACE,
- SPACE, SPACE, SPACE, SPACE, SPACE, SPACE, SPACE,
- SPACE, SPACE, SPACE, SPACE, SPACE, SPACE, SPACE,
- SPACE, SPACE, SPACE, SPACE, SPACE, SPACE, SPACE,
- SPACE, SPACE, SPACE, SPACE, SPACE, SPACE, SPACE
-};
-
enum {
WEEK_NUM_DISABLED = 0,
WEEK_NUM_MASK=0xff,