From 6788efa3459b9581b1e4197e37f504d8fb2e8e87 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 31 Dec 2014 23:39:21 +0100 Subject: [SERVER] Use stdbool.h for booleans; minor refactoring of variable and function names --- src/server/fileutil.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/fileutil.h') diff --git a/src/server/fileutil.h b/src/server/fileutil.h index db60699..d868ccc 100644 --- a/src/server/fileutil.h +++ b/src/server/fileutil.h @@ -4,10 +4,10 @@ #include "../types.h" #include -int file_isReadable(char *file); -int file_isWritable(char *file); -int mkdir_p(const char* path); -int file_alloc(int fd, uint64_t offset, uint64_t size); +bool file_isReadable(char *file); +bool file_isWritable(char *file); +bool mkdir_p(const char* path); +bool file_alloc(int fd, uint64_t offset, uint64_t size); int64_t file_freeDiskSpace(const char * const path); time_t file_lastModification(const char * const file); -- cgit v1.2.3-55-g7522