home *** CD-ROM | disk | FTP | other *** search
- *** timer.bak Mon Aug 10 15:36:40 1992
- --- timer.h Sun Dec 29 00:49:20 1991
- ***************
- *** 15,20 ****
- --- 15,22 ----
- #include <exec/types.h>
- #include <exec/io.h>
-
- + #include <sys/time.h>
- +
- /* unit defintions */
- #define UNIT_MICROHZ 0
- #define UNIT_VBLANK 1
- ***************
- *** 24,33 ****
- --- 26,40 ----
-
- #define TIMERNAME "timer.device"
-
- + #if 0
- struct timeval {
- ULONG tv_secs;
- ULONG tv_micro;
- };
- + #endif
- + /* I want to use the definition in sys/time.h */
- + #define tv_secs tv_sec
- + #define tv_micro tv_usec
-
- struct EClockVal {
- ULONG ev_hi;
-