summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-17 09:51:01 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-17 10:07:31 +0100
commitcb13ffe190ac41a9b77fe27521838f495c1a5077 (patch)
treeaf46870b186a26738f358f97d1a4a8e3db5d79eb /daemon
parent2337b9ccd729e05b46cf6abb1f4173e6e994c1cb (diff)
downloadlibguestfs-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 'daemon')
-rw-r--r--daemon/daemon.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/daemon/daemon.h b/daemon/daemon.h
index a483208b..54bd4881 100644
--- a/daemon/daemon.h
+++ b/daemon/daemon.h
@@ -30,10 +30,6 @@
#include "guestfs_protocol.h"
-#ifndef O_CLOEXEC
-#define O_CLOEXEC 0
-#endif
-
/*-- in guestfsd.c --*/
extern int verbose;