Fix c99 compatibility: use __typeof__ instead of typeof in public headers
[lttng-ust.git] / include / lttng / tracepoint-rcu.h
index 918837e1a162b553091441bf8e0cd02d2015f89c..a754048cc51ccc624a028c522aa8a030fbf04fcf 100644 (file)
@@ -33,7 +33,7 @@
 
 #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);                                               \
        })
This page took 0.023308 seconds and 4 git commands to generate.