Move compat macros in 'lttng/align.h' to a private header
[lttng-ust.git] / libcounter / shm.c
index efebbd0ebdc2ccd1e6e84520b078db66d1982b38..1689ad45bbf490713a36ac75776705e4531d87a6 100644 (file)
@@ -25,7 +25,7 @@
 #include <numa.h>
 #include <numaif.h>
 #endif
-#include <helper.h>
+#include <ust-helper.h>
 #include <ust-fd.h>
 #include "../libringbuffer/mmap.h"
 
@@ -368,6 +368,6 @@ struct lttng_counter_shm_ref lttng_counter_zalloc_shm(struct lttng_counter_shm_o
 
 void lttng_counter_align_shm(struct lttng_counter_shm_object *obj, size_t align)
 {
-       size_t offset_len = offset_align(obj->allocated_len, align);
+       size_t offset_len = lttng_ust_offset_align(obj->allocated_len, align);
        obj->allocated_len += offset_len;
 }
This page took 0.023042 seconds and 4 git commands to generate.