summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-04-02 12:33:27 +0000
committerdas <das@FreeBSD.org>2005-04-02 12:33:27 +0000
commited4814bbdf1303d87f5a172008068a3cb7af10e0 (patch)
tree199f54b29a79e6d0f86376f123334421c3cd4b25 /sys
parent21cf84ad60c55ba03bf9bcd3d4e0d1d5ac9b1bd4 (diff)
downloadFreeBSD-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.h7
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
OpenPOWER on IntegriCloud