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 14:09:29 +0100 |
commit | d1cb6f30523d59a69bc5997b1adc47b648af2de2 (patch) | |
tree | e7b8fb7370862c7ae00efa937dd11c04531fecb9 /daemon/guestfsd.c | |
parent | d918561f712f4dab9e54bd314308b82b1beb072c (diff) | |
download | libguestfs-d1cb6f30523d59a69bc5997b1adc47b648af2de2.tar.gz libguestfs-d1cb6f30523d59a69bc5997b1adc47b648af2de2.tar.xz libguestfs-d1cb6f30523d59a69bc5997b1adc47b648af2de2.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 'daemon/guestfsd.c')
-rw-r--r-- | daemon/guestfsd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c index f888cdc6..8adffd66 100644 --- a/daemon/guestfsd.c +++ b/daemon/guestfsd.c @@ -59,11 +59,6 @@ static char *read_cmdline (void); # define MAX(a,b) ((a)>(b)?(a):(b)) #endif -/* Not the end of the world if this open flag is not defined. */ -#ifndef O_CLOEXEC -# define O_CLOEXEC 0 -#endif - /* If root device is an ext2 filesystem, this is the major and minor. * This is so we can ignore this device from the point of view of the * user, eg. in guestfs_list_devices and many other places. |