Fails to compile with g++.
Reported-by: Francis Giraldeau <francis.giraldeau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* works in c++.
*/
#ifdef __cplusplus
-#extern "C"{
-#endif /*__cplusplus */
+extern "C" {
+#endif /* __cplusplus */
/*
* Add this precompiler conditionals to ensure the tracepoint event generation
*/
#ifdef __cplusplus
}
-#endif /*__cplusplus */
+#endif /* __cplusplus */
#define TRACEPOINT_INCLUDE_FILE ./{headerFilename}
#ifdef __cplusplus
-#extern "C"{{
-#endif /*__cplusplus */
+extern "C"{{
+#endif /* __cplusplus */
#if !defined({includeGuard}) || defined(TRACEPOINT_HEADER_MULTI_READ)
#ifdef __cplusplus
}}
-#endif /*__cplusplus */
+#endif /* __cplusplus */
"""
def __init__(self, filename, template):