projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add missing unused attribute to _rcu_dereference
[urcu.git]
/
include
/
urcu
/
flavor.h
diff --git
a/include/urcu/flavor.h
b/include/urcu/flavor.h
index 411fefbe3173c67615f046e6b61bbd15cb3e7178..1a920896fc9474c0ef7babe1eafa7eec5babca90 100644
(file)
--- a/
include/urcu/flavor.h
+++ b/
include/urcu/flavor.h
@@
-27,6
+27,8
@@
extern "C" {
#endif
extern "C" {
#endif
+struct rcu_head;
+
struct urcu_atfork {
void (*before_fork)(void *priv);
void (*after_fork_parent)(void *priv);
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,\
}
.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
extern const struct rcu_flavor_struct rcu_flavor;
#ifdef __cplusplus
This page took
0.022577 seconds
and
4
git commands to generate.