projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix c99 compatibility: use __typeof__ instead of typeof in public headers
[lttng-ust.git]
/
include
/
lttng
/
tracepoint-rcu.h
diff --git
a/include/lttng/tracepoint-rcu.h
b/include/lttng/tracepoint-rcu.h
index 918837e1a162b553091441bf8e0cd02d2015f89c..a754048cc51ccc624a028c522aa8a030fbf04fcf 100644
(file)
--- a/
include/lttng/tracepoint-rcu.h
+++ b/
include/lttng/tracepoint-rcu.h
@@
-33,7
+33,7
@@
#define tp_rcu_dereference_bp(p) \
({ \
#define tp_rcu_dereference_bp(p) \
({ \
-
typeof(p) _________p1 = URCU_FORCE_CAST(typeof(p),
\
+
__typeof__(p) _________p1 = URCU_FORCE_CAST(__typeof__(p),
\
tracepoint_dlopen.rcu_dereference_sym_bp(URCU_FORCE_CAST(void *, p))); \
(_________p1); \
})
tracepoint_dlopen.rcu_dereference_sym_bp(URCU_FORCE_CAST(void *, p))); \
(_________p1); \
})
This page took
0.025662 seconds
and
4
git commands to generate.