]> git.ipfire.org Git - thirdparty/qemu.git/commit
timer: use an inline function for free
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 27 Jan 2017 08:54:50 +0000 (12:54 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 28 Feb 2017 20:09:28 +0000 (00:09 +0400)
commite703dcbaeef6973e788a9a8d19e53094b50c0a7c
tree8d4cdfbf1d4e9c7f0b9198a19427719059920353
parent14324f585d76abd8a609c119d627503e6a0961be
timer: use an inline function for free

Similarly to allocation, do it from an inline function. This allows
tests to only use the headers for allocation/free of timer.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/timer.h
util/qemu-timer.c