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.0.7~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f1d29bdce822f8432965b2db23d46ef79d2691a9;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,