summaryrefslogtreecommitdiff
path: root/include/u8c/geterr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u8c/geterr.h')
-rw-r--r--include/u8c/geterr.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/u8c/geterr.h b/include/u8c/geterr.h
index 45a25ac..70acc4f 100644
--- a/include/u8c/geterr.h
+++ b/include/u8c/geterr.h
@@ -16,13 +16,8 @@
/* Get error */
# if !defined(u8c_sym_geterr)
# define u8c_sym_geterr
+# include <stdbool.h>
# include <stddef.h>
-# include <stdint.h>
-# if defined(__cplusplus)
-extern "C" {
-# endif
-extern uint_least8_t u8c_geterr(size_t * const sz,uint_least32_t const * * const out);
-# if defined(__cplusplus)
-}
-# endif
+# include <uchar.h>
+extern bool u8c_geterr(size_t * const sz,char32_t const * * const out);
# endif