projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/zbd: Combine write and read fio commands for test case #16
[fio.git]
/
flist.h
diff --git
a/flist.h
b/flist.h
index 2ca3d7771232b6d3031d3c73cff118ef2c5dbd50..5437cd80da85ab7581b2282f52669510ef682d20 100644
(file)
--- a/
flist.h
+++ b/
flist.h
@@
-4,8
+4,8
@@
#include <stdlib.h>
#include <stddef.h>
#include <stdlib.h>
#include <stddef.h>
-#define container_of(ptr, type, member)
({
\
- const
typeof( ((type *)0)->member ) *__mptr = (ptr);
\
+#define container_of(ptr, type, member)
({
\
+ const
__typeof__( ((type *)0)->member ) *__mptr = (ptr);
\
(type *)( (char *)__mptr - offsetof(type,member) );})
/*
(type *)( (char *)__mptr - offsetof(type,member) );})
/*