diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-10-03 11:19:26 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-03 11:19:26 -0600 |
commit | e6fe02651641fc64d2fa4fcfe9b1013b2947d11b (patch) | |
tree | 400796752368e5bd4904882d3f1f36dfe4605590 /file.h | |
parent | e4651d46b3fd5dc4c46a4a299a34974f93297170 (diff) | |
parent | 44c9d041dc17235981f66d69983f542fbfd48ab0 (diff) | |
download | fio-e6fe02651641fc64d2fa4fcfe9b1013b2947d11b.tar.gz fio-e6fe02651641fc64d2fa4fcfe9b1013b2947d11b.tar.bz2 |
Merge branch 'master' of https://github.com/dyniusz/fio
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -188,9 +188,15 @@ extern void close_and_free_files(struct thread_data *); extern uint64_t get_start_offset(struct thread_data *, struct fio_file *); extern int __must_check setup_files(struct thread_data *); extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *); +#ifdef __cplusplus +extern "C" { +#endif extern int __must_check generic_open_file(struct thread_data *, struct fio_file *); extern int __must_check generic_close_file(struct thread_data *, struct fio_file *); extern int __must_check generic_get_file_size(struct thread_data *, struct fio_file *); +#ifdef __cplusplus +} +#endif extern int __must_check file_lookup_open(struct fio_file *f, int flags); extern int __must_check pre_read_files(struct thread_data *); extern unsigned long long get_rand_file_size(struct thread_data *td); |