summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-09-03 00:06:58 +0000
committermike <mike@FreeBSD.org>2002-09-03 00:06:58 +0000
commit8998ff49da5aa3f578c902b0a008c930b2ca6dfb (patch)
tree52b2cc4631ba253f9f4040ece4abd00814345ec8 /include/time.h
parente4c39d59fffad17f73916cb29166683248b78231 (diff)
downloadFreeBSD-src-8998ff49da5aa3f578c902b0a008c930b2ca6dfb.zip
FreeBSD-src-8998ff49da5aa3f578c902b0a008c930b2ca6dfb.tar.gz
Now that _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ are the same on all
architectures, move the definition directly into <time.h> and finish the removal of <machine/ansi.h>.
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/time.h b/include/time.h
index c317a98..90accb8 100644
--- a/include/time.h
+++ b/include/time.h
@@ -48,18 +48,16 @@
#include <sys/cdefs.h>
#include <sys/_types.h>
-#include <machine/ansi.h>
-
#if __POSIX_VISIBLE > 0 && __POSIX_VISIBLE < 200112 || __BSD_VISIBLE
/*
* Frequency of the clock ticks reported by times(). Deprecated - use
* sysconf(_SC_CLK_TCK) instead. (Removed in 1003.1-2001.)
*/
-#define CLK_TCK _BSD_CLK_TCK_
+#define CLK_TCK 128
#endif
/* Frequency of the clock ticks reported by clock(). */
-#define CLOCKS_PER_SEC _BSD_CLOCKS_PER_SEC_
+#define CLOCKS_PER_SEC 128
#ifndef NULL
#define NULL 0
OpenPOWER on IntegriCloud