Return to day.c CVS log | Up to [local] / src / usr.bin / calendar |
version 1.22, 2009/10/27 23:59:36 | version 1.24, 2013/04/02 04:40:21 | ||
---|---|---|---|
|
|
||
#include "pathnames.h" | #include "pathnames.h" | ||
#include "calendar.h" | #include "calendar.h" | ||
extern struct iovec header[]; | |||
#define WEEKLY 1 | #define WEEKLY 1 | ||
#define MONTHLY 2 | #define MONTHLY 2 | ||
#define YEARLY 3 | #define YEARLY 3 | ||
|
|
||
} | } | ||
#if DEBUG | #if DEBUG | ||
printf("Mktime: %d %d %d %s\n", (int)mktime(&tm), (int)t, len, | printf("Mktime: %d %lld %d %s\n", (int)mktime(&tm), (long long)t, len, | ||
asctime(&tm)); | asctime(&tm)); | ||
#endif | #endif | ||
return(mktime(&tm)); | return(mktime(&tm)); |