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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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 <config.h>
>  
> +#include "virutil.h"
> +
>  #ifdef WITH_ESX
>  
>  # include <stdio.h>
> @@ -9,7 +11,6 @@
>  # include "internal.h"
>  # include "viralloc.h"
>  # include "testutils.h"
> -# include "virutil.h"
>  # include "vmx/vmx.h"
>  # include "esx/esx_util.h"
>  # include "esx/esx_vi_types.h"
> @@ -279,7 +280,6 @@ mymain(void)
>  VIRT_TEST_MAIN(mymain)
>  
>  #else
> -# include "testutils.h"
>  
>  int main(void)
>  {

You moved "virutil.h" instead of "testutils.h" here.

Jan

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]