Re: [Qemu-devel] [PATCH] trace: inline control-internal.h into control.h

2013-05-02 Thread Stefan Hajnoczi
On Thu, May 02, 2013 at 04:25:20PM +0200, Lluís Vilanova wrote: > Stefan Hajnoczi writes: > > > trace/control.h is the API for manipulating trace events in QEMU. Some > > of the implementation of this API lives in trace/control-internal.h. > > > Older versions of gcc complain because a static pr

Re: [Qemu-devel] [PATCH] trace: inline control-internal.h into control.h

2013-05-02 Thread Lluís Vilanova
Stefan Hajnoczi writes: > trace/control.h is the API for manipulating trace events in QEMU. Some > of the implementation of this API lives in trace/control-internal.h. > Older versions of gcc complain because a static prototype is used but > the function is defined static inline later on: > C

[Qemu-devel] [PATCH] trace: inline control-internal.h into control.h

2013-05-02 Thread Stefan Hajnoczi
trace/control.h is the API for manipulating trace events in QEMU. Some of the implementation of this API lives in trace/control-internal.h. Older versions of gcc complain because a static prototype is used but the function is defined static inline later on: CCvl.o In file included from t