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:50:22 +0000 (13:50 -0500)
commitcc2ba9135cafdcfc8cc1354ebed5db7fb5279358
treeb6e125a843c1c625eceb86bb2aac2bf1ead01d8f
parentcbfb3b3177fb8a33fa818fd9764910c90f4d4307
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.024384 seconds and 4 git commands to generate.