summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-04 08:49:10 +0000
committerJim Meyering <jim@meyering.net>2004-03-04 08:49:10 +0000
commita07aa7e020ac31086a9e1ed61c319ed20b9639c5 (patch)
treefc304a4f251066096bd8f9b31a6055ca7d8e89ae
parenta1c30fd7d14b21443adf9ed9525474723a25f7e4 (diff)
downloadcoreutils-a07aa7e020ac31086a9e1ed61c319ed20b9639c5.tar.xz
Include <stdbool.h>.
Adjust signature to use `bool' rather than `int'.
-rw-r--r--lib/cloexec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/cloexec.h b/lib/cloexec.h
index d4f8109bc..ecad8d712 100644
--- a/lib/cloexec.h
+++ b/lib/cloexec.h
@@ -1 +1,2 @@
-int set_cloexec_flag (int desc, int value);
+#include <stdbool.h>
+bool set_cloexec_flag (int desc, bool value);