OSDN Git Service

tests/tcg/multiarch: Build fix for linux-test
authorFam Zheng <famz@redhat.com>
Fri, 8 Sep 2017 09:16:58 +0000 (17:16 +0800)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Jun 2018 19:22:34 +0000 (20:22 +0100)
commit5e13cbd51d9f65c2c3bd04ee40d2f810f3b9eaed
treed695d2bcb27ec8fdabf4045cf805ef1850a55c3c
parentdd28bebd024b4c7cfb6352126cd010d389a8d374
tests/tcg/multiarch: Build fix for linux-test

To keep the compiler happy, and to fit in our buildsys flags:

- Make local functions "static"
- #ifdef out unused functions
- drop cutils/osdep dependencies

Signed-off-by: Fam Zheng <famz@redhat.com>
[AJB: drop cutils/osdep dependencies]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
tests/tcg/multiarch/linux-test.c