From: Mathieu Desnoyers Date: Thu, 17 Nov 2011 20:34:22 +0000 (-0500) Subject: Add missing extern to tracepoint.h X-Git-Tag: v1.9.1~86 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ff8657ae6889e5bddb757a405d5d16f7c0717ba3;p=lttng-ust.git Add missing extern to tracepoint.h Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/tracepoint.h b/include/lttng/tracepoint.h index ffae20a2..86abd1a5 100644 --- a/include/lttng/tracepoint.h +++ b/include/lttng/tracepoint.h @@ -103,6 +103,7 @@ extern "C" { #define _TP_PARAMS(...) __VA_ARGS__ #define _DECLARE_TRACEPOINT(provider, name, ...) \ +extern struct tracepoint __tracepoint_##provider##_##name; \ static inline void __tracepoint_##provider##_##name(_TP_ARGS_DATA_PROTO(__VA_ARGS__)) \ { \ struct tracepoint_probe *__tp_probe; \