own time.h

This commit is contained in:
ceriel 1991-10-04 14:06:34 +00:00
parent 7e091602a7
commit f9b38448fd
4 changed files with 0 additions and 16 deletions

View file

@ -1,9 +1,5 @@
/* $Header$ */
#ifdef __BSD4_2
#include <sys/time.h>
#else
#include <time.h>
#endif
#define DATE_STR "??? ??? ?? ??:??:?? ????\n"

View file

@ -1,9 +1,5 @@
/* $Header$ */
#ifdef __BSD4_2
#include <sys/time.h>
#else
#include <time.h>
#endif
extern struct tm *localtime();
extern char *asctime();

View file

@ -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 };

View file

@ -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)