diff options
Diffstat (limited to 'sys/arch/i386')
-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; |