From: Jonathan Rajotte Date: Mon, 11 May 2020 13:57:53 +0000 (-0400) Subject: Fix: API: missing end brace for C++ linkage specification. X-Git-Tag: v2.13.0-rc1~654 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=316f62af004a770ebf808166d4c810d12d90b4e5;p=lttng-tools.git Fix: API: missing end brace for C++ linkage specification. Fixes: #1266 Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: Ia8f2b4b55acc5770297d20df1b95575cf7fa480a --- 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 */