projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
engines/libaio: remove remnants of abandoned aio features
[fio.git]
/
filelock.h
diff --git
a/filelock.h
b/filelock.h
index 97d13b7a62f1a62e7dbd6fc4d591588c865831a5..4551bb0427ec6fc12e726bb4161b50ad98d79c40 100644
(file)
--- a/
filelock.h
+++ b/
filelock.h
@@
-1,8
+1,10
@@
#ifndef FIO_LOCK_FILE_H
#define FIO_LOCK_FILE_H
#ifndef FIO_LOCK_FILE_H
#define FIO_LOCK_FILE_H
+#include "lib/types.h"
+
extern void fio_lock_file(const char *);
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);
extern void fio_unlock_file(const char *);
extern int fio_filelock_init(void);