diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2002-12-31 16:35:43 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2002-12-31 16:35:43 +0000 |
commit | 5bd8a66c32f475b5f4a897da8aef1878cc2e768e (patch) | |
tree | 90bdb8cb64032fcc765f8865bae36013cff255a7 /sys/arch/sun3/stand/libsa/clock.c | |
parent | 4d298384bbeb0ddbaf45d1ececd54291a3e88796 (diff) |
amiga and sun3 turned out to not be y2k+3 compliant here. Remove them, as
well as the few userland tools which were only used on these platforms.
Diffstat (limited to 'sys/arch/sun3/stand/libsa/clock.c')
-rw-r--r-- | sys/arch/sun3/stand/libsa/clock.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sys/arch/sun3/stand/libsa/clock.c b/sys/arch/sun3/stand/libsa/clock.c deleted file mode 100644 index e0d70171b5b..00000000000 --- a/sys/arch/sun3/stand/libsa/clock.c +++ /dev/null @@ -1,26 +0,0 @@ -/* $OpenBSD: clock.c,v 1.2 2001/07/04 08:33:47 niklas Exp $ */ - - -#include <sys/types.h> -#include <machine/mon.h> - -#include "clock.h" - -int hz = 1000; - -time_t getsecs() -{ - register int ticks = getticks(); - return ((time_t)(ticks / hz)); -} - -int getticks() -{ - register MachMonRomVector * romvec; - register int ticks; - - romvec = romVectorPtr; - ticks = *(romvec->nmiClock); - - return (ticks); -} |