From ff8657ae6889e5bddb757a405d5d16f7c0717ba3 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 17 Nov 2011 15:34:22 -0500 Subject: [PATCH] Add missing extern to tracepoint.h Signed-off-by: Mathieu Desnoyers --- include/lttng/tracepoint.h | 1 + 1 file changed, 1 insertion(+) 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; \ -- 2.34.1