Fix: C++: incomplete extern C guard transition
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Feb 2014 18:41:35 +0000 (13:41 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Feb 2014 18:41:35 +0000 (13:41 -0500)
commit6453d2377ce8ab5a45bb40c297db5a128f67f56f
tree532b15651efd58baf3bc6e3291de8a781e89b51e
parent35d2bbde7f556976385a17861737d3725ebff7a6
Fix: C++: incomplete extern C guard transition

Recently, commits to fix SDT issues with extern C
(https://bugs.lttng.org/issues/597) brougt in compile errors when the
tracepoint is defined in the same file where the tracepoint provider is
created.

This was due to the presence of extern C guards in tracepoint-event.h, a
header dedicated to tracepoint probe provider compilation. After commits
"Tracepoint probes don't need extern C", it should have gone away. This
is the main fix done by this patch.

This patch also adds missing extern C guards in ust-error.h and
ust-events.h.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracepoint-event.h
include/lttng/ust-error.h
include/lttng/ust-events.h
This page took 0.024895 seconds and 4 git commands to generate.