diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/u8c/fmt.h | 2 | ||||
-rw-r--r-- | include/u8c/geterr.h | 2 | ||||
-rw-r--r-- | include/u8c/print.h | 2 | ||||
-rw-r--r-- | include/u8c/println.h | 2 | ||||
-rw-r--r-- | include/u8c/u32cp.h | 2 | ||||
-rw-r--r-- | include/u8c/u32sz.h | 2 | ||||
-rw-r--r-- | include/u8c/u8dec.h | 2 | ||||
-rw-r--r-- | include/u8c/u8enc.h | 2 | ||||
-rw-r--r-- | include/u8c/ver.h | 2 | ||||
-rw-r--r-- | include/u8c/vfmt.h | 2 | ||||
-rw-r--r-- | include/u8c/vprint.h | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/include/u8c/fmt.h b/include/u8c/fmt.h index 262c3dc..70aea51 100644 --- a/include/u8c/fmt.h +++ b/include/u8c/fmt.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_fmt(size_t * outstrsz,uint_least32_t * * outstr,uint_least32_t * instr,...); +extern uint_least8_t u8c_fmt(size_t * const restrict outsz,uint_least32_t * restrict * const restrict out,uint_least32_t * const restrict in,...); # if defined(__cplusplus) } # endif diff --git a/include/u8c/geterr.h b/include/u8c/geterr.h index d20499f..fe0a51d 100644 --- a/include/u8c/geterr.h +++ b/include/u8c/geterr.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_geterr(size_t * sz,uint_least32_t * * u32); +extern uint_least8_t u8c_geterr(size_t * const restrict sz,uint_least32_t * restrict * const restrict out); # if defined(__cplusplus) } # endif diff --git a/include/u8c/print.h b/include/u8c/print.h index acbda08..f30b485 100644 --- a/include/u8c/print.h +++ b/include/u8c/print.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_print(FILE * fp,uint_least32_t * msg,...); +extern uint_least8_t u8c_print(FILE * fp,uint_least32_t * const msg,...); # if defined(__cplusplus) } # endif diff --git a/include/u8c/println.h b/include/u8c/println.h index 10ebff3..2887726 100644 --- a/include/u8c/println.h +++ b/include/u8c/println.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_println(FILE * fp,uint_least32_t * msg,...); +extern uint_least8_t u8c_println(FILE * fp,uint_least32_t * const msg,...); # if defined(__cplusplus) } # endif diff --git a/include/u8c/u32cp.h b/include/u8c/u32cp.h index b0ca35f..8ec1864 100644 --- a/include/u8c/u32cp.h +++ b/include/u8c/u32cp.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_u32cp(size_t * sz,uint_least32_t * * out,uint_least32_t * in); +extern uint_least8_t u8c_u32cp(size_t * const restrict sz,uint_least32_t * restrict * const restrict out,uint_least32_t * const restrict in); # if defined(__cplusplus) } # endif diff --git a/include/u8c/u32sz.h b/include/u8c/u32sz.h index 28ef2e4..5b39393 100644 --- a/include/u8c/u32sz.h +++ b/include/u8c/u32sz.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_u32sz(size_t * sz,uint_least32_t * u32); +extern uint_least8_t u8c_u32sz(size_t * restrict sz,uint_least32_t * restrict in); # if defined(__cplusplus) } # endif diff --git a/include/u8c/u8dec.h b/include/u8c/u8dec.h index 8ebf64e..851cc4c 100644 --- a/include/u8c/u8dec.h +++ b/include/u8c/u8dec.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_u8dec(size_t * outsz,uint_least32_t * * out,uint_least8_t * in); +extern uint_least8_t u8c_u8dec(size_t * const restrict sz,uint_least32_t * restrict * const restrict out,uint_least8_t * const restrict in); # if defined(__cplusplus) } # endif diff --git a/include/u8c/u8enc.h b/include/u8c/u8enc.h index f4bdfa5..72710a1 100644 --- a/include/u8c/u8enc.h +++ b/include/u8c/u8enc.h @@ -21,7 +21,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_u8enc(size_t * sz,uint_least8_t * * out,uint_least32_t * in); +extern uint_least8_t u8c_u8enc(size_t * const restrict sz,uint_least8_t * restrict * const restrict out,uint_least32_t * const restrict in); # if defined(__cplusplus) } # endif diff --git a/include/u8c/ver.h b/include/u8c/ver.h index c754571..c31642c 100644 --- a/include/u8c/ver.h +++ b/include/u8c/ver.h @@ -16,5 +16,5 @@ /* Version */ # if !defined(u8c_ver) # include <stdint.h> -# define u8c_ver (UINT64_C(0x6)) +# define u8c_ver (UINT64_C(0x7)) # endif diff --git a/include/u8c/vfmt.h b/include/u8c/vfmt.h index c12e251..60e744e 100644 --- a/include/u8c/vfmt.h +++ b/include/u8c/vfmt.h @@ -22,7 +22,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_vfmt(size_t * outsz,uint_least32_t * * out,uint_least32_t * in,va_list args); +extern uint_least8_t u8c_vfmt(size_t * const restrict sz,uint_least32_t * restrict * const restrict out,uint_least32_t * const restrict in,va_list args); # if defined(__cplusplus) } # endif diff --git a/include/u8c/vprint.h b/include/u8c/vprint.h index 154aef6..a10a50a 100644 --- a/include/u8c/vprint.h +++ b/include/u8c/vprint.h @@ -22,7 +22,7 @@ # if defined(__cplusplus) extern "C" { # endif -extern uint_least8_t u8c_vprint(FILE * fp,uint_least32_t * msg,va_list args); +extern uint_least8_t u8c_vprint(FILE * fp,uint_least32_t * const restrict msg,va_list args); # if defined(__cplusplus) } # endif |