Re: [libvirt] [PATCH 2/6] cleanup: Only include testutils.h once

2013-04-15 Thread Ján Tomko
> diff --git a/tests/esxutilstest.c b/tests/esxutilstest.c > index 55b3623..0c6f3cb 100644 > --- a/tests/esxutilstest.c > +++ b/tests/esxutilstest.c > @@ -1,5 +1,7 @@ > #include > > +#include "virutil.h" > + > #ifdef WITH_ESX > > # include > @@ -9,7 +11,6 @@ > # include "internal.h" > #

[libvirt] [PATCH 2/6] cleanup: Only include testutils.h once

2013-04-14 Thread Osier Yang
No reason to include it in both "if" and "else" branches. --- tests/domainsnapshotxml2xmltest.c | 4 ++-- tests/esxutilstest.c | 4 ++-- tests/lxcxml2xmltest.c| 4 ++-- tests/openvzutilstest.c | 4 ++-- tests/qemuargv2xmltest.c | 4 ++-- tests/qemuhelpte