include: implement REUSE with SPDX identifiers
[lttng-ust.git] / include / lttng / ust-clock.h
index d608a933b8b26158351f7fb427903a4f324c9104..b32f2b106afc6d8beadf91214bd9fba471e835f7 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * SPDX-License-Identifier: LGPL-2.1-only
- *
- * Copyright (C) 2014  Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
+// SPDX-FileCopyrightText: 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: LGPL-2.1-only
 
 #ifndef LTTNG_UST_CLOCK_H
 #define LTTNG_UST_CLOCK_H
@@ -10,6 +8,10 @@
 #include <stdint.h>
 #include <stddef.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Set each callback for the trace clock override, and then enable the
  * override. Those functions return negative error values on error, 0 on
@@ -63,4 +65,8 @@ int lttng_ust_trace_clock_get_description_cb(lttng_ust_clock_description_functio
  */
 int lttng_ust_enable_trace_clock_override(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_UST_CLOCK_H */
This page took 0.023757 seconds and 4 git commands to generate.