Added a clarifying comment.
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -42,6 +42,7 @@ static int month_start[]= | ... | @@ -42,6 +42,7 @@ static int month_start[]= |
42 | 31 28 31 30 31 30 31 31 30 31 30 31 | 42 | 31 28 31 30 31 30 31 31 30 31 30 31 |
43 | */ | 43 | */ |
44 | 44 | ||
45 | /* NOTE: ignore GCC warning. The precedence of operators is OK here */ | ||
45 | #define leap_year(y) ((y) % 4 == 0 && (y) % 100 != 0 || (y) % 400 == 0) | 46 | #define leap_year(y) ((y) % 4 == 0 && (y) % 100 != 0 || (y) % 400 == 0) |
46 | 47 | ||
47 | static int | 48 | static int | ... | ... |
-
Please register or sign in to post a comment