ETRAX: Removed unused struct entry and fixed Windows build.
PATCH 1/1 ETRAX: Removed unused struct entry and fixed Windows build.
"struct timeval last" caused a compilation error with mingw32 (missing header for struct timeval).
It is unused, so it was possible to remove it.
Signed-off-by Stefan Weil <[email protected]>
--- hw/etraxfs_timer.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
hw/etraxfs_timer.c +0 -1
@@ -52,7 +52,6 @@ struct etrax_timer {ptimer_state *ptimer_t0;ptimer_state *ptimer_t1;ptimer_state *ptimer_wd; -struct timeval last;int wd_hits;
--
1.5.6.5
Edgar E. Iglesias
AppliedQuoted 4 lines · Stefan Weil
"struct timeval last" caused a compilation error with mingw32 (missing header for struct timeval).
It is unused, so it was possible to remove it.
Thanks, applied.
Quoted 22 lines
Signed-off-by Stefan Weil <[email protected]>--- hw/etraxfs_timer.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)hw/etraxfs_timer.c +0
-2@@ -52,7 +52,6 @@ struct etrax_timer {ptimer_state *ptimer_t0;ptimer_state *ptimer_t1;ptimer_state *ptimer_wd; -struct timeval last;int wd_hits; --1.5.6.5