From: Mathieu Desnoyers Date: Thu, 13 Dec 2012 20:05:26 +0000 (-0500) Subject: Cleanup lttng-gen-tp: remove leading underscore before include guard X-Git-Tag: v2.1.0~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=85302e04b3770ff440896a1500aff84836fa7477;p=lttng-ust.git Cleanup lttng-gen-tp: remove leading underscore before include guard Fixes #298 Signed-off-by: Mathieu Desnoyers --- diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index d54559a0..20756555 100755 --- a/tools/lttng-gen-tp +++ b/tools/lttng-gen-tp @@ -61,7 +61,7 @@ extern "C"{{ def write(self): outputFile = open(self.outputFilename,"w") - includeGuard = "_"+self.outputFilename.upper().replace(".","_") + includeGuard = self.outputFilename.upper().replace(".","_") outputFile.write(HeaderFile.HEADER_TPL.format(providerName=self.template.domain, includeGuard = includeGuard,