qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] ETRAX: Removed unused struct entry and fixed Window


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] ETRAX: Removed unused struct entry and fixed Windows build.
Date: Sat, 23 May 2009 21:32:30 +0200
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

"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 <address@hidden>
---
 hw/etraxfs_timer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/hw/etraxfs_timer.c b/hw/etraxfs_timer.c
index 793c5eb..79eceb8 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;

--
1.5.6.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]