diff options
author | das <das@FreeBSD.org> | 2005-04-02 12:33:27 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-04-02 12:33:27 +0000 |
commit | ed4814bbdf1303d87f5a172008068a3cb7af10e0 (patch) | |
tree | 199f54b29a79e6d0f86376f123334421c3cd4b25 /sys | |
parent | 21cf84ad60c55ba03bf9bcd3d4e0d1d5ac9b1bd4 (diff) | |
download | FreeBSD-src-ed4814bbdf1303d87f5a172008068a3cb7af10e0.zip FreeBSD-src-ed4814bbdf1303d87f5a172008068a3cb7af10e0.tar.gz |
Define CLOCK_* and TIMER_* in time.h, where they are supposed to be.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/time.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h index 5371838..e6adbea 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -232,17 +232,16 @@ struct clockinfo { int profhz; /* profiling clock frequency */ }; -/* CLOCK_REALTIME and TIMER_ABSTIME are supposed to be in time.h */ - +/* These macros are also in time.h. */ #ifndef CLOCK_REALTIME #define CLOCK_REALTIME 0 -#endif #define CLOCK_VIRTUAL 1 #define CLOCK_PROF 2 #define CLOCK_MONOTONIC 4 +#endif -#define TIMER_RELTIME 0x0 /* relative timer */ #ifndef TIMER_ABSTIME +#define TIMER_RELTIME 0x0 /* relative timer */ #define TIMER_ABSTIME 0x1 /* absolute timer */ #endif |