From: Mathieu Desnoyers Date: Thu, 1 Nov 2012 22:34:40 +0000 (-0400) Subject: Fix static linking: add missing static for _defer_rcu X-Git-Tag: v0.8.0~164 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f50c11aab867de9a5b7acc9a826fb9417874bc66;p=userspace-rcu.git Fix static linking: add missing static for _defer_rcu Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-defer-impl.h b/urcu-defer-impl.h index fc9d4bd..c762400 100644 --- a/urcu-defer-impl.h +++ b/urcu-defer-impl.h @@ -300,7 +300,7 @@ end: /* * _defer_rcu - Queue a RCU callback. */ -void _defer_rcu(void (*fct)(void *p), void *p) +static void _defer_rcu(void (*fct)(void *p), void *p) { unsigned long head, tail;