Re: [Qemu-devel] [PATCH 04/28] timer: use an inline function for free

2017-02-07 Thread Greg Kurz
On Tue, 7 Feb 2017 17:51:47 +0400 Marc-André Lureau wrote: > Similarly to allocation, do it from an inline function. This allows > tests to only use the headers for allocation/free of timer. > > Cc: Paolo Bonzini > Signed-off-by: Marc-André Lureau > --- Reviewed-by: Greg Kurz > include/qe

[Qemu-devel] [PATCH 04/28] timer: use an inline function for free

2017-02-07 Thread Marc-André Lureau
Similarly to allocation, do it from an inline function. This allows tests to only use the headers for allocation/free of timer. Cc: Paolo Bonzini Signed-off-by: Marc-André Lureau --- include/qemu/timer.h | 5 - qemu-timer.c | 5 - 2 files changed, 4 insertions(+), 6 deletions(-)