1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-03-06 11:13:19 +00:00

ICL1900: Removed include of time.h

This commit is contained in:
Richard Cornwell
2020-10-31 10:52:44 -04:00
parent 26d7c0bc14
commit b68245add8

View File

@@ -31,7 +31,6 @@
*/
#include "icl1900_defs.h"
#include <time.h>
#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? */