Fix: remove # in front on extern "C" {
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 May 2012 12:40:04 +0000 (08:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 May 2012 12:40:59 +0000 (08:40 -0400)
Fails to compile with g++.

Reported-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/easy-ust/sample_component_provider.h
tools/lttng-gen-tp

index eefac0e6d8bf52c1094328913ede53e4c9a5d351..764a916130231cedda143d874df9396650da6980 100644 (file)
@@ -47,8 +47,8 @@
  * works in c++. 
  */
 #ifdef __cplusplus
-#extern "C"{
-#endif /*__cplusplus */
+extern "C" {
+#endif /* __cplusplus */
 
 /*
  * Add this precompiler conditionals to ensure the tracepoint event generation
@@ -140,4 +140,4 @@ TRACEPOINT_LOGLEVEL(
  */
 #ifdef __cplusplus
 }
-#endif /*__cplusplus */
+#endif /* __cplusplus */
index 03a85fcb4e6a7cb63e8172cce6f6bc8f03db1d27..d54559a0405444d5184d3dbe8bdfa154db5c597b 100755 (executable)
@@ -35,8 +35,8 @@ class HeaderFile:
 #define TRACEPOINT_INCLUDE_FILE ./{headerFilename}
 
 #ifdef __cplusplus
-#extern "C"{{
-#endif /*__cplusplus */
+extern "C"{{
+#endif /* __cplusplus */
 
 
 #if !defined({includeGuard}) || defined(TRACEPOINT_HEADER_MULTI_READ)
@@ -52,7 +52,7 @@ class HeaderFile:
 
 #ifdef __cplusplus
 }}
-#endif /*__cplusplus */
+#endif /* __cplusplus */
 
 """
     def __init__(self, filename, template):
This page took 0.025899 seconds and 4 git commands to generate.