projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjustments to support C++ engines
[fio.git]
/
engines
/
mtd.c
diff --git
a/engines/mtd.c
b/engines/mtd.c
index 9381089aa57eb3b8a2997e6b0f29b4c53b695d57..3c22a1b15be99032b53d1bb70a27cf1109811cde 100644
(file)
--- a/
engines/mtd.c
+++ b/
engines/mtd.c
@@
-14,9
+14,9
@@
#include "../fio.h"
#include "../verify.h"
#include "../fio.h"
#include "../verify.h"
-#include "../lib/libmtd.h"
+#include "../
os
lib/libmtd.h"
-libmtd_t desc;
+
static
libmtd_t desc;
struct fio_mtd_data {
struct mtd_dev_info info;
struct fio_mtd_data {
struct mtd_dev_info info;
@@
-168,7
+168,7
@@
static int fio_mtd_close_file(struct thread_data *td, struct fio_file *f)
return generic_close_file(td, f);
}
return generic_close_file(td, f);
}
-int fio_mtd_get_file_size(struct thread_data *td, struct fio_file *f)
+
static
int fio_mtd_get_file_size(struct thread_data *td, struct fio_file *f)
{
struct mtd_dev_info info;
{
struct mtd_dev_info info;