From: Mathieu Desnoyers Date: Tue, 18 Oct 2016 22:43:04 +0000 (-0400) Subject: Fix: loglevel and model_emf_uri build fix X-Git-Tag: v2.8.2~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0ab954a902a026e67721d46f68a83b5dc8228fc6;p=lttng-ust.git Fix: loglevel and model_emf_uri build fix Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-tracepoint-event.h b/include/lttng/ust-tracepoint-event.h index f453fa5d..e26105ef 100644 --- a/include/lttng/ust-tracepoint-event.h +++ b/include/lttng/ust-tracepoint-event.h @@ -839,9 +839,7 @@ LTTNG_TP_EXTERN_C const int *_loglevel___##__provider##___##__name \ #include TRACEPOINT_INCLUDE -#ifdef __cplusplus #undef LTTNG_TP_EXTERN_C -#endif /* * Stage 6.1 of tracepoint event generation. @@ -867,13 +865,11 @@ LTTNG_TP_EXTERN_C const int *_loglevel___##__provider##___##__name \ #undef TRACEPOINT_MODEL_EMF_URI #define TRACEPOINT_MODEL_EMF_URI(__provider, __name, __uri) \ LTTNG_TP_EXTERN_C const char *_model_emf_uri___##__provider##___##__name \ - __attribute__((visibility("hidden"))) = __uri \ + __attribute__((visibility("hidden"))) = __uri; \ #include TRACEPOINT_INCLUDE -#ifdef __cplusplus #undef LTTNG_TP_EXTERN_C -#endif /* * Stage 7.1 of tracepoint event generation.