-/*
- * 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
#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
*/
int lttng_ust_enable_trace_clock_override(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_UST_CLOCK_H */