diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-05-30 01:53:45 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-05-30 01:53:45 +0000 |
commit | ff59d907975e66d4d2b18d0903f3dfed8a7fdb5d (patch) | |
tree | a1873251bdae390bd8bb220e656815a6bc6950ad | |
parent | f1c489441fc472f2ee3992d259b0a4e02c1c509e (diff) |
kill the hack!
-rw-r--r-- | sys/arch/i386/stand/libsa/time.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/arch/i386/stand/libsa/time.c b/sys/arch/i386/stand/libsa/time.c index cedc53249ea..f645f0cf04f 100644 --- a/sys/arch/i386/stand/libsa/time.c +++ b/sys/arch/i386/stand/libsa/time.c @@ -1,4 +1,4 @@ -/* $OpenBSD: time.c,v 1.11 1998/04/18 07:39:57 deraadt Exp $ */ +/* $OpenBSD: time.c,v 1.12 1998/05/30 01:53:44 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -144,31 +144,6 @@ getsecs(void) return(1); } -/* - * Return time since epoch - */ -void -time_print(void) -{ - u_int8_t timebuf[4], datebuf[4]; - - /* Query BIOS for time & date */ - if(!biostime(timebuf) && !biosdate(datebuf)) { -#ifdef notdef - int dst; - - dst = timebuf[3]; -#endif - /* Convert to sane values */ - printf("%d/%d/%d - %d:%d:%d\n", - datebuf[3], datebuf[2], datebuf[0] * 100 + datebuf[1], - timebuf[0], timebuf[1], timebuf[2]); - } else - printf("no idea (in BIOS)\n"); - - return; -} - u_int sleep(i) u_int i; |