lib: compile liblttng-ctl as C++
[lttng-tools.git] / include / lttng / clear.h
index b656db9f4d3ce8d0ccd024ec1ff3e26e7e52fc52..5dfd5db583caccef22f07d3e8869ae465c9a6f19 100644 (file)
@@ -10,6 +10,7 @@
 #define LTTNG_CLEAR_H
 
 #include <lttng/lttng-error.h>
+#include <lttng/lttng-export.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -54,7 +55,7 @@ struct lttng_clear_handle;
  *    LTTNG_ERR_CLEAR_NOT_AVAILABLE_RELAY
  *    LTTNG_ERR_CLEAR_FAIL_CONSUMER
 */
-extern enum lttng_error_code lttng_clear_session(const char *session_name,
+LTTNG_EXPORT extern enum lttng_error_code lttng_clear_session(const char *session_name,
                struct lttng_clear_handle **handle);
 #ifdef __cplusplus
 }
This page took 0.023728 seconds and 4 git commands to generate.