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-Url: http://drtracing.org/?a=commitdiff_plain;h=dd865611ec38576b43e9419b8d01500aa297ef39;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 */