diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-04-20 20:53:19 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2020-04-22 23:49:22 -0300 | 
| commit | 17e38209a593f6b95b56aba11bed11d233da07c2 (patch) | |
| tree | c80f25fa35e9b76c20e4183ec93ba0940ad445dc /lib/frrcu.h | |
| parent | 86ac1facf38df2006ab73f30eae0301057fbcade (diff) | |
lib, zebra: add missing extern "C" {} blocks to new header files
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/frrcu.h')
| -rw-r--r-- | lib/frrcu.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/frrcu.h b/lib/frrcu.h index 491e89aac2..47751ae7df 100644 --- a/lib/frrcu.h +++ b/lib/frrcu.h @@ -20,6 +20,10 @@  #include "memory.h"  #include "atomlist.h" +#ifdef __cplusplus +extern "C" { +#endif +  /* quick RCU primer:   *   There's a global sequence counter.  Whenever a thread does a   *   rcu_read_lock(), it is marked as holding the current sequence counter. @@ -170,4 +174,8 @@ extern void rcu_enqueue(struct rcu_head *head, const struct rcu_action *action);  extern void rcu_close(struct rcu_head_close *head, int fd); +#ifdef __cplusplus +} +#endif +  #endif /* _FRRCU_H */  | 
