projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fa2a5bf
)
Fix warning on platforms without disk util support
author
Jens Axboe
<axboe@kernel.dk>
Fri, 12 Apr 2013 14:19:03 +0000
(16:19 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 12 Apr 2013 14:19:03 +0000
(16:19 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diskutil.h
patch
|
blob
|
blame
|
history
diff --git
a/diskutil.h
b/diskutil.h
index ddd64719b5cf6d97f09d2f59716eeb6552c4d95f..6ae4aeed2e78522edb037ccc976e4ceda26b7941 100644
(file)
--- a/
diskutil.h
+++ b/
diskutil.h
@@
-109,7
+109,10
@@
extern int update_io_ticks(void);
extern void setup_disk_util(void);
extern void disk_util_prune_entries(void);
#else
-#define print_disk_util(dus, agg, terse)
+static inline void print_disk_util(struct disk_util_stat *du,
+ struct disk_util_agg *agg, int terse)
+{
+}
#define show_disk_util(terse, parent)
#define disk_util_prune_entries()
#define init_disk_util(td)