qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] [PATCHv10 08/31] aio / timers: Split QEMUClock in


From: Alex Bligh
Subject: Re: [Qemu-devel] [RFC] [PATCHv10 08/31] aio / timers: Split QEMUClock into QEMUClock and QEMUTimerList
Date: Mon, 12 Aug 2013 17:25:52 +0100

On 12 Aug 2013, at 17:14, Jan Kiszka wrote:

> The typedef part is a duplication of what we already have in
> qemu/typedefs.h and breaks the build for me. Just declare the struct here.

You mean one can't do

typedef struct foo foo;
...
typedef struct foo {
  ...
} foo;

?

I don't even get a warning for that. Learn a new thing every
day. OK will fix. I guess that means timer.h needs to explicitly
include typedefs.h in case whatever is including timer.h does
not first include typedefs.h.

-- 
Alex Bligh







reply via email to

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