summaryrefslogtreecommitdiff
path: root/filelock.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-08-29 11:44:32 -0600
committerJens Axboe <axboe@fb.com>2016-08-29 11:44:32 -0600
commit375ac4fa5dadae06241741c05f5a657c98eefc03 (patch)
treea45109f11d5c894536609631dfbd801be98774b9 /filelock.h
parent917c64b368adf1c687b627fd4fe3aa0f214d0cb7 (diff)
downloadfio-375ac4fa5dadae06241741c05f5a657c98eefc03.tar.gz
fio-375ac4fa5dadae06241741c05f5a657c98eefc03.tar.bz2
filelock: bool conversion
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'filelock.h')
-rw-r--r--filelock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/filelock.h b/filelock.h
index 97d13b7a..4551bb04 100644
--- a/filelock.h
+++ b/filelock.h
@@ -1,8 +1,10 @@
#ifndef FIO_LOCK_FILE_H
#define FIO_LOCK_FILE_H
+#include "lib/types.h"
+
extern void fio_lock_file(const char *);
-extern int fio_trylock_file(const char *);
+extern bool fio_trylock_file(const char *);
extern void fio_unlock_file(const char *);
extern int fio_filelock_init(void);