summaryrefslogtreecommitdiff
path: root/include/u8c/u32sz.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u8c/u32sz.h')
-rw-r--r--include/u8c/u32sz.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/u8c/u32sz.h b/include/u8c/u32sz.h
index b97ccdb..f182e92 100644
--- a/include/u8c/u32sz.h
+++ b/include/u8c/u32sz.h
@@ -16,13 +16,8 @@
/* UTF-32 size */
# if !defined(u8c_sym_u32sz)
# define u8c_sym_u32sz
+# include <stdbool.h>
# include <stddef.h>
-# include <stdint.h>
-# if defined(__cplusplus)
-extern "C" {
-# endif
-extern uint_least8_t u8c_u32sz(size_t * sz,uint_least32_t const * in);
-# if defined(__cplusplus)
-}
-# endif
+# include <uchar.h>
+extern bool u8c_u32sz(size_t * sz,char32_t const * in);
# endif