Comment Re:Missing Option (Score 3, Informative) 337
Or from linux/kernel/time/timeconv.c :
static int __isleap(long year)
{
return (year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0);
}
I think it was originally implemented as a #define. Hence the remaining parenthesis around 'year'?
static int __isleap(long year)
{
return (year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0);
}
I think it was originally implemented as a #define. Hence the remaining parenthesis around 'year'?