cleanup: Remove redefinition of CHAR_BIT
[lttng-ust.git] / liblttng-ust / lttng-context-vuid.c
index 438b4222da0226c3c28ce7c39d6d12322cbf7913..df880de33cea72ef66bcd7038b5b5ab4255e9988 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #define _LGPL_SOURCE
+#include <limits.h>
 #include <stddef.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -73,7 +74,7 @@ size_t vuid_get_size(struct lttng_ust_ctx_field *field, size_t offset)
 static
 void vuid_record(struct lttng_ust_ctx_field *field,
                 struct lttng_ust_lib_ring_buffer_ctx *ctx,
-                struct lttng_channel *chan)
+                struct lttng_ust_channel_buffer *chan)
 {
        uid_t vuid;
 
@@ -97,7 +98,7 @@ int lttng_add_vuid_to_ctx(struct lttng_ust_ctx **ctx)
 
        type = lttng_ust_create_type_integer(sizeof(uid_t) * CHAR_BIT,
                        lttng_alignof(uid_t) * CHAR_BIT,
-                       lttng_is_signed_type(uid_t),
+                       lttng_ust_is_signed_type(uid_t),
                        BYTE_ORDER, 10);
        if (!type)
                return -ENOMEM;
This page took 0.028228 seconds and 4 git commands to generate.