[Libosinfo] [libosinfo PATCH] test-os: Fix test breakage

Andrea Bolognani abologna at redhat.com
Mon Nov 19 10:01:53 UTC 2018


On Mon, 2018-11-19 at 10:30 +0100, Fabiano Fidêncio wrote:
> "for" loop initial declarations are only allowed in C99 mode but some
> old compilers (like the ones in centos7 or debian8) just don't use it by
> default.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  tests/test-os.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the Libosinfo mailing list