X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tools%2Flttng-gen-tp;h=1b8439f3c71258bfaac2b3bd29358904401800f6;hb=177d5e84ca824cd51c41cc380b0f7600e27e39a6;hp=8ae243f682360b2916985dad0bc39facb60b5904;hpb=9d34b2263291fa3007c128d5ec667218884ee50a;p=lttng-ust.git diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index 8ae243f6..1b8439f3 100755 --- a/tools/lttng-gen-tp +++ b/tools/lttng-gen-tp @@ -35,11 +35,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} @@ -50,11 +45,6 @@ extern "C"{{ #endif /* {includeGuard} */ #include - -#ifdef __cplusplus -}} -#endif /* __cplusplus */ - """ def __init__(self, filename, template): self.outputFilename = filename