aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r--coreutils/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c
index cd7be0d30..93c5692d0 100644
--- a/coreutils/cal.c
+++ b/coreutils/cal.c
@@ -65,7 +65,7 @@ static const char sep1752[] = {
65 65
66static int julian; 66static int julian;
67 67
68/* leap year -- account for gregorian reformation in 1752 */ 68/* leap year -- account for Gregorian reformation in 1752 */
69#define leap_year(yr) \ 69#define leap_year(yr) \
70 ((yr) <= 1752 ? !((yr) % 4) : \ 70 ((yr) <= 1752 ? !((yr) % 4) : \
71 (!((yr) % 4) && ((yr) % 100)) || !((yr) % 400)) 71 (!((yr) % 4) && ((yr) % 100)) || !((yr) % 400))