aboutsummaryrefslogtreecommitdiff
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
commit4bfdb77aae749daedb508eaff381c662be9258e5 (patch)
tree087b7a98a92f681c941dd3a9b8fbe3dfa8330092 /tests/xml2sexprtest.c
parentTue Dec 4 18:25:01 UTC 2007 Richard W.M. Jones <rjones@redhat.com> (diff)
downloadlibvirt-4bfdb77aae749daedb508eaff381c662be9258e5.tar.gz
libvirt-4bfdb77aae749daedb508eaff381c662be9258e5.tar.bz2
libvirt-4bfdb77aae749daedb508eaff381c662be9258e5.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.
Diffstat (limited to 'tests/xml2sexprtest.c')
-rw-r--r--tests/xml2sexprtest.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/xml2sexprtest.c b/tests/xml2sexprtest.c
index 1f37b21cd..2d18e608b 100644
--- a/tests/xml2sexprtest.c
+++ b/tests/xml2sexprtest.c
@@ -2,21 +2,16 @@
#include "config.h"
#include <stdio.h>
-#include <string.h>
#include <stdlib.h>
-
+#include <string.h>
#include <sys/types.h>
#include <fcntl.h>
-#ifdef HAVE_SYS_SYSLIMITS_H
-#include <sys/syslimits.h>
-#endif
-
#if WITH_XEN
+#include "internal.h"
#include "xml.h"
#include "testutils.h"
-#include "internal.h"
static char *progname;
static char *abs_top_srcdir;