Fix: loglevel and model_emf_uri build fix
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 18 Oct 2016 22:43:04 +0000 (18:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 18 Oct 2016 22:44:00 +0000 (18:44 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-tracepoint-event.h

index b4198bc9a4bf6092a5fa0f8b7792d8db68d5672d..6c1e3efa5192eb7b6fd61f400ecf5fde373e3be5 100644 (file)
@@ -723,9 +723,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.
@@ -751,13 +749,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.
This page took 0.025317 seconds and 4 git commands to generate.