scope-exit: Clarify scope_exit noexcept requirement
[lttng-tools.git] / include / lttng / clear.h
index b656db9f4d3ce8d0ccd024ec1ff3e26e7e52fc52..8961e166fb0d122c82c00a92291f0306c9795814 100644 (file)
@@ -10,6 +10,7 @@
 #define LTTNG_CLEAR_H
 
 #include <lttng/lttng-error.h>
+#include <lttng/lttng-export.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -53,9 +54,9 @@ struct lttng_clear_handle;
  *    LTTNG_ERR_CLEAR_RELAY_DISALLOWED
  *    LTTNG_ERR_CLEAR_NOT_AVAILABLE_RELAY
  *    LTTNG_ERR_CLEAR_FAIL_CONSUMER
-*/
-extern enum lttng_error_code lttng_clear_session(const char *session_name,
-               struct lttng_clear_handle **handle);
+ */
+LTTNG_EXPORT extern enum lttng_error_code lttng_clear_session(const char *session_name,
+                                                             struct lttng_clear_handle **handle);
 #ifdef __cplusplus
 }
 #endif
This page took 0.02342 seconds and 4 git commands to generate.