All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] ETRAX: Removed unused struct entry and fixed Windows build.
@ 2009-05-23 19:32 Stefan Weil
  2009-05-23 20:03 ` Edgar E. Iglesias
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2009-05-23 19:32 UTC (permalink / raw)
  To: QEMU Developers

"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 <weil@mail.berlios.de>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] ETRAX: Removed unused struct entry and fixed Windows build.
  2009-05-23 19:32 [Qemu-devel] [PATCH] ETRAX: Removed unused struct entry and fixed Windows build Stefan Weil
@ 2009-05-23 20:03 ` Edgar E. Iglesias
  0 siblings, 0 replies; 2+ messages in thread
From: Edgar E. Iglesias @ 2009-05-23 20:03 UTC (permalink / raw)
  To: Stefan Weil; +Cc: QEMU Developers

On Sat, May 23, 2009 at 09:32:30PM +0200, Stefan Weil wrote:
> "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.


> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  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
> 
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-23 20:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-23 19:32 [Qemu-devel] [PATCH] ETRAX: Removed unused struct entry and fixed Windows build Stefan Weil
2009-05-23 20:03 ` Edgar E. Iglesias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.