Make temporary variable in _rcu_dereference non-const
[urcu.git] / include / urcu / flavor.h
index d2d19f6c80df002439bfc6f8331c82b4126bee09..1a920896fc9474c0ef7babe1eafa7eec5babca90 100644 (file)
@@ -78,11 +78,6 @@ const struct rcu_flavor_struct x = {                 \
        .unregister_rculfhash_atfork = urcu_unregister_rculfhash_atfork,\
 }
 
-#define DEFINE_RCU_FLAVOR_ALIAS(x, y) _DEFINE_RCU_FLAVOR_ALIAS(x, y)
-#define _DEFINE_RCU_FLAVOR_ALIAS(x, y)                 \
-__attribute__((alias(#x)))                             \
-extern const struct rcu_flavor_struct y;
-
 extern const struct rcu_flavor_struct rcu_flavor;
 
 #ifdef __cplusplus
This page took 0.023165 seconds and 4 git commands to generate.