Cleanup lttng-gen-tp: remove leading underscore before include guard
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Dec 2012 20:05:26 +0000 (15:05 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Dec 2012 20:05:26 +0000 (15:05 -0500)
Fixes #298

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tools/lttng-gen-tp

index d54559a0405444d5184d3dbe8bdfa154db5c597b..2075655559a582a214551a0b397ca609aaebc381 100755 (executable)
@@ -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,
This page took 0.030486 seconds and 4 git commands to generate.