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-17 10:07:31 +0100 |
commit | cb13ffe190ac41a9b77fe27521838f495c1a5077 (patch) | |
tree | af46870b186a26738f358f97d1a4a8e3db5d79eb /src | |
parent | 2337b9ccd729e05b46cf6abb1f4173e6e994c1cb (diff) | |
download | libguestfs-cb13ffe190ac41a9b77fe27521838f495c1a5077.tar.gz libguestfs-cb13ffe190ac41a9b77fe27521838f495c1a5077.tar.xz libguestfs-cb13ffe190ac41a9b77fe27521838f495c1a5077.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.
Diffstat (limited to 'src')
-rw-r--r-- | src/guestfs-internal.h | 4 | ||||
-rw-r--r-- | src/info.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index 9bc41f0c..8f2e26dc 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -30,10 +30,6 @@ #include "hash.h" -#ifndef O_CLOEXEC -#define O_CLOEXEC 0 -#endif - #ifndef SOCK_CLOEXEC #define SOCK_CLOEXEC 0 #endif @@ -33,10 +33,6 @@ #include "guestfs-internal-actions.h" #include "guestfs_protocol.h" -#ifndef O_CLOEXEC -#define O_CLOEXEC 0 -#endif - static int run_qemu_img_info (guestfs_h *g, const char *filename, int (*fn) (guestfs_h *g, char *line, void *data), void *data); static int check_disk_format (guestfs_h *h, char *line, void *data); static int check_disk_virtual_size (guestfs_h *h, char *line, void *data); |