From 316f62af004a770ebf808166d4c810d12d90b4e5 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 11 May 2020 09:57:53 -0400 Subject: [PATCH] Fix: API: missing end brace for C++ linkage specification. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: #1266 Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: Ia8f2b4b55acc5770297d20df1b95575cf7fa480a --- include/lttng/clear-handle.h | 3 +++ include/lttng/clear.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/lttng/clear-handle.h b/include/lttng/clear-handle.h index 26755553e..4d952ce3d 100644 --- a/include/lttng/clear-handle.h +++ b/include/lttng/clear-handle.h @@ -75,5 +75,8 @@ extern enum lttng_clear_handle_status lttng_clear_handle_get_result( const struct lttng_clear_handle *handle, enum lttng_error_code *result); +#ifdef __cplusplus +} +#endif #endif /* LTTNG_CLEAR_HANDLE_H */ diff --git a/include/lttng/clear.h b/include/lttng/clear.h index 34ace3d9a..b656db9f4 100644 --- a/include/lttng/clear.h +++ b/include/lttng/clear.h @@ -56,5 +56,8 @@ struct lttng_clear_handle; */ extern enum lttng_error_code lttng_clear_session(const char *session_name, struct lttng_clear_handle **handle); +#ifdef __cplusplus +} +#endif #endif /* LTTNG_CLEAR_H */ -- 2.34.1