examples: tracepoint probes don't need extern C
[lttng-ust.git] / doc / examples / easy-ust / sample_component_provider.h
index 7e337825e734525e955c2c2dc6afd65ea0fc984b..dd3c5f0f6fb6106a2d271501e456a377cc365bbd 100644 (file)
 #undef TRACEPOINT_INCLUDE
 #define TRACEPOINT_INCLUDE "./sample_component_provider.h"
 
-/*
- * Add this macro and its matching element to make sure the program
- * works in c++. 
- */
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
 /*
  * Add this precompiler conditionals to ensure the tracepoint event generation
  * can include this file more than once.
@@ -141,11 +133,3 @@ TRACEPOINT_LOGLEVEL(
  * Add this after defining the tracepoint events to expand the macros. 
  */ 
 #include <lttng/tracepoint-event.h>
-
-/*
- * Add this macro and its matching element to make sure the program
- * works in c++. 
- */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
This page took 0.023474 seconds and 4 git commands to generate.