From: Stefan Weil Date: Sat, 23 May 2009 19:32:30 +0000 (+0200) Subject: ETRAX: Removed unused struct entry and fixed Windows build. X-Git-Tag: v0.11.0-rc0~515 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3cb5a22326b3de72a06c22a8bdef4f54e046be90;p=thirdparty%2Fqemu.git 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. Acked-by: Edgar E. Iglesias Signed-off-by: Stefan Weil --- diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c index 793c5eb929d..79eceb89265 100644 --- a/hw/etraxfs_timer.c +++ b/hw/etraxfs_timer.c @@ -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;