diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-17 23:37:23 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-17 23:37:23 +0200 |
commit | 833ab9522d510197270543e47868d86ec67db5aa (patch) | |
tree | 938133b6d9daa7dc8be04cea8b2d984b8a6ac729 /ioexact.h | |
parent | 142b191071fb3f0cc4b44e1784b336c2ab9548a7 (diff) |
ioexact: make mayexit a bool
It's used as such, so therefore make it a bool instead of int.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ioexact.h')
-rw-r--r-- | ioexact.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,9 @@ #ifndef IOEXACT_H #define IOEXACT_H -extern ssize_t read_exact(int fd, void *buf, size_t len, int mayexit); -extern ssize_t write_exact(int fd, void *buf, size_t len, int mayexit); +#include <stdbool.h> + +extern ssize_t read_exact(int fd, void *buf, size_t len, bool mayexit); +extern ssize_t write_exact(int fd, void *buf, size_t len, bool mayexit); #endif /* IOEXACT_H */ |