projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 0.7.14
[userspace-rcu.git]
/
urcu
/
compiler.h
diff --git
a/urcu/compiler.h
b/urcu/compiler.h
index e7817dbd019f8803abea56cd54fd749ebe6279d6..378f0eae8a59b3d0c1029566a174b0b6011e3009 100644
(file)
--- a/
urcu/compiler.h
+++ b/
urcu/compiler.h
@@
-64,6
+64,7
@@
* @member: name of the field within the object.
*/
#define caa_container_of(ptr, type, member) \
+ __extension__ \
({ \
const __typeof__(((type *) NULL)->member) * __ptr = (ptr); \
(type *)((char *)__ptr - offsetof(type, member)); \
This page took
0.027129 seconds
and
4
git commands to generate.