diff --git a/src/include/utils/nabstime.h b/src/include/utils/nabstime.h index 400bb045c5..09d8272456 100644 --- a/src/include/utils/nabstime.h +++ b/src/include/utils/nabstime.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nabstime.h,v 1.7 1997/04/02 18:32:39 scrappy Exp $ + * $Id: nabstime.h,v 1.8 1997/06/23 14:58:51 thomas Exp $ * *------------------------------------------------------------------------- */ @@ -93,12 +93,6 @@ extern AbsoluteTime GetCurrentAbsoluteTime(void); #define getSystemTime() \ ((time_t) (time(0l))) -#define SECS(n) ((time_t)(n)) -#define MINS(n) ((time_t)(n) * SECS(60)) -#define HOURS(n) ((time_t)(n) * MINS(60)) /* 3600 secs */ -#define DAYS(n) ((time_t)(n) * HOURS(24)) /* 86400 secs */ -/* months and years are not constant length, must be specially dealt with */ - /* * nabstime.c prototypes @@ -121,9 +115,6 @@ extern bool AbsoluteTimeIsBefore(AbsoluteTime time1, AbsoluteTime time2); extern bool AbsoluteTimeIsAfter(AbsoluteTime time1, AbsoluteTime time2); extern AbsoluteTime tm2abstime(struct tm *tm, int tz); -extern void abstime2tm(AbsoluteTime time, int *tzp, struct tm *tm); - -extern AbsoluteTime dateconv(struct tm *tm, int zone); -extern time_t qmktime(struct tm *tp); +extern void abstime2tm(AbsoluteTime time, int *tzp, struct tm *tm, char *tzn); #endif /* NABSTIME_H */