1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 11:55:43 +00:00

Compiler and static analyzer fixes from Peter Schorn.

This commit is contained in:
Mark Pizzolato
2013-04-13 16:59:54 -07:00
parent ee3d98a125
commit 4bd72e666c
8 changed files with 88 additions and 70 deletions

View File

@@ -180,7 +180,7 @@ return sim_os_msec() - start_time;
const t_bool rtc_avail = TRUE;
uint32 sim_os_msec ()
uint32 sim_os_msec (void)
{
uint32 quo, htod, tod[2];
int32 i;
@@ -260,7 +260,7 @@ return 0;
const t_bool rtc_avail = TRUE;
uint32 sim_os_msec ()
uint32 sim_os_msec (void)
{
if (sim_idle_rate_ms)
return timeGetTime ();
@@ -330,7 +330,7 @@ return 0;
const t_bool rtc_avail = FALSE;
uint32 sim_os_msec ()
uint32 sim_os_msec (void)
{
return 0;
}
@@ -426,7 +426,7 @@ return 0;
const t_bool rtc_avail = TRUE;
uint32 sim_os_msec ()
uint32 sim_os_msec (void)
{
struct timeval cur;
struct timezone foo;