Add missing extern to tracepoint.h
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 17 Nov 2011 20:34:22 +0000 (15:34 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 17 Nov 2011 20:34:22 +0000 (15:34 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracepoint.h

index ffae20a2f9854195ab3642651979d13f0883e4ed..86abd1a5b2514284957a27be0430262dca4e20f4 100644 (file)
@@ -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;                                            \
This page took 0.025628 seconds and 4 git commands to generate.