X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tools%2Flttng-gen-tp;fp=tools%2Flttng-gen-tp;h=db78a5a82b8358a915982aef0969809c81fb44ec;hb=8ccc745889efb88847e2e2c01cb27c814635e092;hp=5937dfdfe1793f61b46c43e544d41f2b109d0674;hpb=f66773d666414752f4764e7ea0d685f9d1a92107;p=lttng-ust.git diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index 5937dfdf..db78a5a8 100755 --- a/tools/lttng-gen-tp +++ b/tools/lttng-gen-tp @@ -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 - -#ifdef __cplusplus -}} -#endif /* __cplusplus */ - """ def __init__(self, filename, template): self.outputFilename = filename