own time.h
This commit is contained in:
parent
7e091602a7
commit
f9b38448fd
|
@ -1,9 +1,5 @@
|
|||
/* $Header$ */
|
||||
#ifdef __BSD4_2
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#define DATE_STR "??? ??? ?? ??:??:?? ????\n"
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
/* $Header$ */
|
||||
#ifdef __BSD4_2
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
extern struct tm *localtime();
|
||||
extern char *asctime();
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
/* $Header$ */
|
||||
#ifdef __BSD4_2
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
static int monthsize[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
/* $Header$ */
|
||||
#ifdef __BSD4_2
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#define LEAPYEAR(year) (!((year) % 4) && (((year) % 100) || !((year) % 400)))
|
||||
#define YEARSIZE(year) (LEAPYEAR(year) ? 366 : 365)
|
||||
|
|
Loading…
Reference in a new issue