Move to kernel style SPDX license identifiers
[lttng-ust.git] / tests / benchmark / ust_tests_benchmark.h
index 0ee986f6a7c50e254b0546c2e439d73e05d7bcc5..d21c645edccdaf9efe7278fd9de2cf6fab02c8ec 100644 (file)
@@ -1,13 +1,15 @@
+/*
+ * SPDX-License-Identifier: MIT
+ *
+ * Copyright (C) 2013 Zifei Tong <soariez@gmail.com>
+ */
+
 #undef TRACEPOINT_PROVIDER
 #define TRACEPOINT_PROVIDER ust_tests_benchmark
 
 #if !defined(_TRACEPOINT_UST_TESTS_BENCHMARK_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
 #define _TRACEPOINT_UST_TESTS_BENCHMARK_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include <lttng/tracepoint.h>
 
 TRACEPOINT_EVENT(ust_tests_benchmark, tpbench,
@@ -24,7 +26,3 @@ TRACEPOINT_EVENT(ust_tests_benchmark, tpbench,
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}
-#endif
This page took 0.023821 seconds and 4 git commands to generate.