diff options
author | Jim Meyering <jim@meyering.net> | 2004-03-04 08:49:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-03-04 08:49:10 +0000 |
commit | a07aa7e020ac31086a9e1ed61c319ed20b9639c5 (patch) | |
tree | fc304a4f251066096bd8f9b31a6055ca7d8e89ae /lib | |
parent | a1c30fd7d14b21443adf9ed9525474723a25f7e4 (diff) | |
download | coreutils-a07aa7e020ac31086a9e1ed61c319ed20b9639c5.tar.xz |
Include <stdbool.h>.
Adjust signature to use `bool' rather than `int'.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cloexec.h | 3 |
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); |