cleanup: Remove redefinition of CHAR_BIT
[lttng-ust.git] / liblttng-ust / lttng-context-pthread-id.c
index 59a6f3815ed26822fcf9baa024d06b0a429254d5..bc235826f106cb7049880d05ae4ec03da9fa0718 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #define _LGPL_SOURCE
+#include <limits.h>
 #include <stddef.h>
 #include <pthread.h>
 #include <lttng/ust-events.h>
@@ -52,7 +53,7 @@ int lttng_add_pthread_id_to_ctx(struct lttng_ust_ctx **ctx)
 
        type = lttng_ust_create_type_integer(sizeof(unsigned long) * CHAR_BIT,
                        lttng_alignof(unsigned long) * CHAR_BIT,
-                       lttng_is_signed_type(unsigned long),
+                       lttng_ust_is_signed_type(unsigned long),
                        BYTE_ORDER, 10);
        if (!type)
                return -ENOMEM;
This page took 0.023865 seconds and 4 git commands to generate.