]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
examples: Remove config.h from hellolibvirt and openauth
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Sun, 8 Jul 2018 18:56:53 +0000 (15:56 -0300)
committerErik Skultety <eskultet@redhat.com>
Mon, 9 Jul 2018 06:53:11 +0000 (08:53 +0200)
These two examples do not use any definition from config.h, and by
removing it these examples can be compiled standalone.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
examples/hellolibvirt/hellolibvirt.c
examples/openauth/openauth.c

index 02c4401987c28d3dd5703baa99e8a023ac13d10c..bfb12846e6649004f7851c152e9867f70e9d8795 100644 (file)
@@ -2,8 +2,6 @@
  * hypervisor and gather a few bits of information about domains.
  * Similar API's exist for storage pools, networks, and interfaces. */
 
-#include <config.h>
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <libvirt/libvirt.h>
index eef46d5f5257ccab70e30a8f34fcdbd597d45528..efd21c374f55c47957c12e4859956568c95fcc76 100644 (file)
@@ -1,8 +1,6 @@
 /* This is a copy of the hellolibvirt example demonstaring how to use
  * virConnectOpenAuth with a custom auth callback */
 
-#include <config.h>
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>