X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Furcu%2Fflavor.h;h=1a920896fc9474c0ef7babe1eafa7eec5babca90;hb=a0ec6d9b6b67e37fc81c98e04008907bc500cde8;hp=411fefbe3173c67615f046e6b61bbd15cb3e7178;hpb=4477a87021ffbfbfdb2a2084d05a084171343d36;p=urcu.git diff --git a/include/urcu/flavor.h b/include/urcu/flavor.h index 411fefb..1a92089 100644 --- a/include/urcu/flavor.h +++ b/include/urcu/flavor.h @@ -27,6 +27,8 @@ extern "C" { #endif +struct rcu_head; + struct urcu_atfork { void (*before_fork)(void *priv); void (*after_fork_parent)(void *priv); @@ -76,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