diff options
| author | Peter Maydell | 2014-03-13 12:24:15 +0100 |
|---|---|---|
| committer | Peter Maydell | 2014-03-13 13:31:05 +0100 |
| commit | 0100f42550201f346cc0c20c1864f941509eb592 (patch) | |
| tree | 469672084dd74e42e10639363520f54ba3c57ee5 /include/exec/exec-all.h | |
| parent | Merge remote-tracking branch 'remotes/afaerber/tags/prep-for-upstream' into s... (diff) | |
| download | qemu-0100f42550201f346cc0c20c1864f941509eb592.tar.gz qemu-0100f42550201f346cc0c20c1864f941509eb592.tar.xz qemu-0100f42550201f346cc0c20c1864f941509eb592.zip | |
libqtest: Avoid inline varargs functions
Older versions of gcc (eg 4.6) can't handle varargs functions declared
inline for anything other than completely trivial uses, and complain:
tests/qom-test.c: In function 'qmp': tests/libqtest.h:359:60: sorry,
unimplemented: function 'qmp' can never be inlined because it uses
variable argument lists
Avoid this problem by putting the functions into libqtest.c instead
of using inline definitions in libqtest.h.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
