From ff59d907975e66d4d2b18d0903f3dfed8a7fdb5d Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sat, 30 May 1998 01:53:45 +0000 Subject: kill the hack! --- sys/arch/i386/stand/libsa/time.c | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'sys/arch/i386') 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; -- cgit v1.2.3