Tracepoint probes don't need extern C
[lttng-ust.git] / tools / lttng-gen-tp
index 5937dfdfe1793f61b46c43e544d41f2b109d0674..db78a5a82b8358a915982aef0969809c81fb44ec 100755 (executable)
@@ -34,11 +34,6 @@ class HeaderFile:
 #undef TRACEPOINT_INCLUDE
 #define TRACEPOINT_INCLUDE "./{headerFilename}"
 
-#ifdef __cplusplus
-extern "C"{{
-#endif /* __cplusplus */
-
-
 #if !defined({includeGuard}) || defined(TRACEPOINT_HEADER_MULTI_READ)
 #define {includeGuard}
 
@@ -49,11 +44,6 @@ extern "C"{{
 #endif /* {includeGuard} */
 
 #include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}}
-#endif /* __cplusplus */
-
 """
     def __init__(self, filename, template):
         self.outputFilename = filename
This page took 0.023298 seconds and 4 git commands to generate.