cleanup: Remove redefinition of CHAR_BIT
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index e632050434c83a2fa06ab790c7570f90a0b5db6d..8116a71e31e0bacf5b3243fdb424ce4173443be3 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef _LTTNG_UST_EVENTS_INTERNAL_H
 #define _LTTNG_UST_EVENTS_INTERNAL_H
 
+#include <limits.h>
 #include <stdint.h>
 
 #include <urcu/list.h>
@@ -508,7 +509,7 @@ struct lttng_ust_type_common *lttng_ust_create_type_array_text(unsigned int leng
        array_type->alignment = 0;
        array_type->encoding = lttng_ust_string_encoding_UTF8;
        array_type->elem_type = lttng_ust_create_type_integer(sizeof(char) * CHAR_BIT,
-                       lttng_alignof(char) * CHAR_BIT, lttng_is_signed_type(char),
+                       lttng_alignof(char) * CHAR_BIT, lttng_ust_is_signed_type(char),
                        BYTE_ORDER, 10);
        if (!array_type->elem_type)
                goto error_elem;
This page took 0.023476 seconds and 4 git commands to generate.