Fix: race between statedump and library destructor
[lttng-ust.git] / liblttng-ust / lttng-context-ip.c
index 31283f17199446d8542aed2c93d939effe620767..fb9229543194d91b6df66a36e447fa4bb59fb314 100644 (file)
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _LGPL_SOURCE
 #include <sys/types.h>
 #include <unistd.h>
 #include <lttng/ust-events.h>
@@ -27,7 +28,7 @@
 #include <lttng/ringbuffer-config.h>
 
 static
-size_t ip_get_size(size_t offset)
+size_t ip_get_size(struct lttng_ctx_field *field, size_t offset)
 {
        size_t size = 0;
 
This page took 0.023378 seconds and 4 git commands to generate.