diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-09-17 09:51:01 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-09-19 12:08:11 +0100 |
commit | 1a56682f3b779f59d3d3e0d6777e58a1f7bcad3c (patch) | |
tree | 1b3eb172f500bd1beef37267c9516cc15bca2c36 /tests/xml/fake-libvirt-xml.c | |
parent | 3febff9ea7efc00da9f6d9a506231317cd473ce1 (diff) | |
download | libguestfs-1a56682f3b779f59d3d3e0d6777e58a1f7bcad3c.tar.gz libguestfs-1a56682f3b779f59d3d3e0d6777e58a1f7bcad3c.tar.xz libguestfs-1a56682f3b779f59d3d3e0d6777e58a1f7bcad3c.zip |
syntax: Remove definitions of O_CLOEXEC, except in examples (thanks Jim Meyering).
The gnulib <fcntl.h> replacement header will now define this symbol if
it's not defined already.
(cherry picked from commit cb13ffe190ac41a9b77fe27521838f495c1a5077)
Diffstat (limited to 'tests/xml/fake-libvirt-xml.c')
-rw-r--r-- | tests/xml/fake-libvirt-xml.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/xml/fake-libvirt-xml.c b/tests/xml/fake-libvirt-xml.c index 61065d3d..a34b700a 100644 --- a/tests/xml/fake-libvirt-xml.c +++ b/tests/xml/fake-libvirt-xml.c @@ -25,10 +25,6 @@ #include <sys/types.h> #include <sys/stat.h> -#ifndef O_CLOEXEC -#define O_CLOEXEC 0 -#endif - /* Old <libvirt.h> had a slightly different definition of * virDomainGetXMLDesc (using 'int' for flags instead of 'unsigned * int'). To avoid an error trying to redefine it with a different |