qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 1/7] Move target_words_bigendian() prototype


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH v3 1/7] Move target_words_bigendian() prototype to exec-all.h
Date: Fri, 12 Dec 2014 16:20:16 -0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Dec 10, 2014 at 07:44:04PM +0000, Peter Maydell wrote:
> On 10 December 2014 at 19:26, Eduardo Habkost <address@hidden> wrote:
> > Signed-off-by: Eduardo Habkost <address@hidden>
> > ---
> >  exec.c                  | 1 -
> >  hw/virtio/virtio.c      | 1 -
> >  include/exec/exec-all.h | 2 ++
> >  3 files changed, 2 insertions(+), 2 deletions(-)
> 
> I thought this prototype was deliberately not in a generally
> included header file because it's really not something that
> should be needed by most code.  If we do want to move it into
> a header then we definitely don't want it in exec-all.h.

I have no idea what would be the best place for the prototype, then.
CCing the people who introduced the function, in case they have any
suggestion.

Anyway, I don't want to make this series depend on dealing with the
virtio default-endianness mess, so in the next version I will drop this
patch and simply put the prototype inside tests/x86-stub.c.

-- 
Eduardo



reply via email to

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