summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/go32/gettime.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-12-20 02:29:00 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-12-20 02:29:00 +0000
commitd693ad844979b8f5596dde99a0cbec070af73683 (patch)
tree1b60e394a1807abc3c92bf9b0cbb88b3fdb157c4 /newlib/libc/sys/go32/gettime.c
parent3ace1da676318a591ee314b784f37661e52cfb75 (diff)
downloadcygnal-d693ad844979b8f5596dde99a0cbec070af73683.tar.gz
cygnal-d693ad844979b8f5596dde99a0cbec070af73683.tar.bz2
cygnal-d693ad844979b8f5596dde99a0cbec070af73683.zip
2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Remove references to go32. * libc/sys/go32/*: Removed.
Diffstat (limited to 'newlib/libc/sys/go32/gettime.c')
-rw-r--r--newlib/libc/sys/go32/gettime.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/newlib/libc/sys/go32/gettime.c b/newlib/libc/sys/go32/gettime.c
deleted file mode 100644
index ba8116119..000000000
--- a/newlib/libc/sys/go32/gettime.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "dos.h"
-
-void gettime( struct time *tp)
-{
- union REGS regs;
- regs.h.ah = 0x2c;
- intdos( &regs, &regs);
- tp->ti_hour = regs.h.ch;
- tp->ti_min = regs.h.cl;
- tp->ti_sec = regs.h.dh;
- tp->ti_hund = regs.h.dl;
-}