diff options
author | Eric Blake <eblake@redhat.com> | 2012-08-09 15:37:03 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-08-09 15:40:42 -0600 |
commit | 51ee43aa55ae864686286434ce796519eb70f446 (patch) | |
tree | 7d3ce890ff8758de9d0a2ecd799e4522f77ca826 /tests | |
parent | build: fix author of previous commit (diff) | |
download | libvirt-51ee43aa55ae864686286434ce796519eb70f446.tar.gz libvirt-51ee43aa55ae864686286434ce796519eb70f446.tar.bz2 libvirt-51ee43aa55ae864686286434ce796519eb70f446.zip |
build: fix PROBE() usage of intptr_t
Otherwise, in locations like virobject.c where PROBE is used,
for certain configure options, the compiler warns:
util/virobject.c:110:1: error: 'intptr_t' undeclared (first use in this function)
As long as we are making this header always available, we can
clean up several other files.
* src/internal.h (includes): Pull in <stdint.h>.
* src/conf/nwfilter_conf.h: Rely on internal.h.
* src/storage/storage_backend.c: Likewise.
* src/storage/storage_backend.h: Likewise.
* src/util/cgroup.c: Likewise.
* src/util/sexpr.h: Likewise.
* src/util/virhashcode.h: Likewise.
* src/util/virnetdevvportprofile.h: Likewise.
* src/util/virnetlink.h: Likewise.
* src/util/virrandom.h: Likewise.
* src/vbox/vbox_driver.c: Likewise.
* src/xenapi/xenapi_driver.c: Likewise.
* src/xenapi/xenapi_utils.c: Likewise.
* src/xenapi/xenapi_utils.h: Likewise.
* src/xenxs/xenxs_private.h: Likewise.
* tests/storagebackendsheepdogtest.c: Likewise.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storagebackendsheepdogtest.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/storagebackendsheepdogtest.c b/tests/storagebackendsheepdogtest.c index b7b3b35d0..ba5bc36be 100644 --- a/tests/storagebackendsheepdogtest.c +++ b/tests/storagebackendsheepdogtest.c @@ -25,10 +25,8 @@ #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <stdint.h> #include <string.h> -#include <sys/types.h> #include <fcntl.h> #include "internal.h" |