diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-28 20:09:49 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-28 23:30:12 +0100 |
commit | 2602a526e1cd9fd0f81d33e331e0911edece3685 (patch) | |
tree | 094b4dd54575dbe453da2ff7b454b675c4af6a38 | |
parent | 2419bda3b4b47687c787a2937238fee932ad66e5 (diff) | |
download | hivex-2602a526e1cd9fd0f81d33e331e0911edece3685.tar.gz hivex-2602a526e1cd9fd0f81d33e331e0911edece3685.tar.xz hivex-2602a526e1cd9fd0f81d33e331e0911edece3685.zip |
maint: remove definition of O_CLOEXEC, ...
now that we're using gnulib's fcntl module, which ensures
that we use a conforming <fcntl.h>.
* lib/hivex.c (O_CLOEXEC): Remove definition.
* bootstrap (modules): Add fcntl for its guaranteed definition
of O_CLOEXEC.
-rwxr-xr-x | bootstrap | 1 | ||||
-rw-r--r-- | lib/hivex.c | 4 |
2 files changed, 1 insertions, 4 deletions
@@ -56,6 +56,7 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool modules=' c-ctype +fcntl full-read full-write gitlog-to-changelog diff --git a/lib/hivex.c b/lib/hivex.c index a72fa77..946ecf3 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -38,10 +38,6 @@ #include "full-read.h" #include "full-write.h" -#ifndef O_CLOEXEC -#define O_CLOEXEC 0 -#endif - #define STREQ(a,b) (strcmp((a),(b)) == 0) #define STRCASEEQ(a,b) (strcasecmp((a),(b)) == 0) //#define STRNEQ(a,b) (strcmp((a),(b)) != 0) |