6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: nabstime.h,v 1.7 1997/04/02 18:32:39 scrappy Exp $
9
+ * $Id: nabstime.h,v 1.8 1997/06/23 14:58:51 thomas Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -93,12 +93,6 @@ extern AbsoluteTime GetCurrentAbsoluteTime(void);
93
93
#define getSystemTime () \
94
94
((time_t) (time(0l)))
95
95
96
- #define SECS (n ) ((time_t)(n))
97
- #define MINS (n ) ((time_t)(n) * SECS(60))
98
- #define HOURS (n ) ((time_t)(n) * MINS(60)) /* 3600 secs */
99
- #define DAYS (n ) ((time_t)(n) * HOURS(24)) /* 86400 secs */
100
- /* months and years are not constant length, must be specially dealt with */
101
-
102
96
103
97
/*
104
98
* nabstime.c prototypes
@@ -121,9 +115,6 @@ extern bool AbsoluteTimeIsBefore(AbsoluteTime time1, AbsoluteTime time2);
121
115
extern bool AbsoluteTimeIsAfter (AbsoluteTime time1 , AbsoluteTime time2 );
122
116
123
117
extern AbsoluteTime tm2abstime (struct tm * tm , int tz );
124
- extern void abstime2tm (AbsoluteTime time , int * tzp , struct tm * tm );
125
-
126
- extern AbsoluteTime dateconv (struct tm * tm , int zone );
127
- extern time_t qmktime (struct tm * tp );
118
+ extern void abstime2tm (AbsoluteTime time , int * tzp , struct tm * tm , char * tzn );
128
119
129
120
#endif /* NABSTIME_H */
0 commit comments