[libvirt] [PATCH 3/6] admin: Drop 'internal.h' include from libvirt-admin.h

Erik Skultety eskultet at redhat.com
Tue Aug 11 07:58:58 UTC 2015


This is a public library, it shouldn't include anything that is
internal. Including the library in it's current state to an example
application fails the preprocessor phase.
---
 include/libvirt/libvirt-admin.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/libvirt/libvirt-admin.h b/include/libvirt/libvirt-admin.h
index b3cfc93..9997cc2 100644
--- a/include/libvirt/libvirt-admin.h
+++ b/include/libvirt/libvirt-admin.h
@@ -26,8 +26,6 @@
 #ifndef __VIR_ADMIN_H__
 # define __VIR_ADMIN_H__
 
-# include "internal.h"
-
 # ifdef __cplusplus
 extern "C" {
 # endif
-- 
2.4.3




More information about the libvir-list mailing list