projects
/
platform
/
upstream
/
libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add packaging
[platform/upstream/libdrm.git]
/
util_double_list.h
diff --git
a/util_double_list.h
b/util_double_list.h
index
7e48b26
..
9bdca13
100644
(file)
--- a/
util_double_list.h
+++ b/
util_double_list.h
@@
-110,7
+110,7
@@
static inline void list_delinit(struct list_head *item)
#ifndef container_of
#define container_of(ptr, sample, member) \
(void *)((char *)(ptr) \
- - ((char *)&((
typeof
(sample))0)->member))
+ - ((char *)&((
__typeof__
(sample))0)->member))
#endif
#define LIST_FOR_EACH_ENTRY(pos, head, member) \