From b68245add86fc0fc972633cdadcbe580f0bffc4d Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Sat, 31 Oct 2020 10:52:44 -0400 Subject: [PATCH] ICL1900: Removed include of time.h --- ICL1900/icl1900_cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ICL1900/icl1900_cpu.c b/ICL1900/icl1900_cpu.c index c0a032e..3150bbb 100644 --- a/ICL1900/icl1900_cpu.c +++ b/ICL1900/icl1900_cpu.c @@ -31,7 +31,6 @@ */ #include "icl1900_defs.h" -#include #include "sim_timer.h" #define UNIT_V_MSIZE (UNIT_V_UF + 0) @@ -2460,7 +2459,7 @@ time_read(uint32 *word) time_t curtim; struct tm *tptr; - curtim = time(NULL); /* get time */ + curtim = sim_get_time(NULL);/* get time */ tptr = localtime(&curtim); /* decompose */ if (tptr == NULL) return; /* error? */