summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2007-12-05 13:56:22 +0000
committerRichard W.M. Jones <rjones@redhat.com>2007-12-05 13:56:22 +0000
commit72ce58786c4c23eba75d53799abefe1c5f83ce93 (patch)
treed7051518f38be0826b23a267b9295c6b44b2e545
parent06fa1bfed5aef8d52ee94d09ffc541e0f8d37704 (diff)
downloadlibvirt-python-v6-72ce58786c4c23eba75d53799abefe1c5f83ce93.tar.gz
libvirt-python-v6-72ce58786c4c23eba75d53799abefe1c5f83ce93.tar.xz
libvirt-python-v6-72ce58786c4c23eba75d53799abefe1c5f83ce93.zip
Wed Dec 5 13:48:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
* python/libvir.c, python/libvirt_wrap.h, qemud/qemud.c, qemud/remote.c, src/internal.h, src/openvz_conf.c, src/openvz_driver.c, src/proxy_internal.h, src/qemu_conf.c, src/qemu_driver.c, src/remote_internal.h, src/test.h, src/util.c, src/xen_unified.c, src/xen_unified.h, tests/nodeinfotest.c, tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c, tests/reconnect.c, tests/sexpr2xmltest.c, tests/virshtest.c, tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c: Change #include <> to #include "" for local includes. Removed many includes from src/internal.h and put them in the C files which actually use them. Removed <ansidecl.h> - unused. Added a comment around __func__. Removed a clashing redefinition of VERSION symbol. All limits (PATH_MAX etc) now done in src/internal.h, so we don't need to include those headers in other files.
-rw-r--r--libvir.c4
-rw-r--r--libvirt_wrap.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libvir.c b/libvir.c
index 9969c80..54dca79 100644
--- a/libvir.c
+++ b/libvir.c
@@ -10,8 +10,8 @@
*/
#include <Python.h>
-#include <libvirt/libvirt.h>
-#include <libvirt/virterror.h>
+#include "libvirt/libvirt.h"
+#include "libvirt/virterror.h"
#include "libvirt_wrap.h"
#include "libvirt-py.h"
diff --git a/libvirt_wrap.h b/libvirt_wrap.h
index d7f43c2..ef5fa68 100644
--- a/libvirt_wrap.h
+++ b/libvirt_wrap.h
@@ -7,8 +7,8 @@
*/
#include <Python.h>
-#include <libvirt/libvirt.h>
-#include <libvirt/virterror.h>
+#include "libvirt/libvirt.h"
+#include "libvirt/virterror.h"
#ifdef __GNUC__
#ifdef ATTRIBUTE_UNUSED