lib: compile liblttng-ctl as C++
[lttng-tools.git] / tests / regression / tools / notification / consumer_testpoints.c
index c4fc0a0572f3d688b6b557118e30b25545a2d3ce..6294683f98cc0299e24fc4bfd4ac28b3edd77de5 100644 (file)
@@ -12,6 +12,7 @@
 #include <unistd.h>
 #include <stdbool.h>
 #include <lttng/constant.h>
 #include <unistd.h>
 #include <stdbool.h>
 #include <lttng/constant.h>
+#include <lttng/lttng-export.h>
 #include <fcntl.h>
 #include <dlfcn.h>
 #include <stdio.h>
 #include <fcntl.h>
 #include <dlfcn.h>
 #include <stdio.h>
@@ -46,7 +47,7 @@ void __attribute__((destructor)) pause_pipe_fini(void)
  * thread to create a named pipe/FIFO which a test application can use to either
  * pause or resume the consumption of data.
  */
  * thread to create a named pipe/FIFO which a test application can use to either
  * pause or resume the consumption of data.
  */
-int __testpoint_consumerd_thread_data(void);
+LTTNG_EXPORT int __testpoint_consumerd_thread_data(void);
 int __testpoint_consumerd_thread_data(void)
 {
        int ret = 0;
 int __testpoint_consumerd_thread_data(void)
 {
        int ret = 0;
@@ -106,7 +107,7 @@ end:
        return ret;
 }
 
        return ret;
 }
 
-int __testpoint_consumerd_thread_data_poll(void);
+LTTNG_EXPORT int __testpoint_consumerd_thread_data_poll(void);
 int __testpoint_consumerd_thread_data_poll(void)
 {
        int ret = 0;
 int __testpoint_consumerd_thread_data_poll(void)
 {
        int ret = 0;
This page took 0.023081 seconds and 4 git commands to generate.