projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use restrict everywhere it's required by c99 and/or posix 2008
[musl]
/
src
/
locale
/
iconv.c
diff --git
a/src/locale/iconv.c
b/src/locale/iconv.c
index
508d322
..
7b341fe
100644
(file)
--- a/
src/locale/iconv.c
+++ b/
src/locale/iconv.c
@@
-139,7
+139,7
@@
static void put_32(unsigned char *s, unsigned c, int e)
#define mbrtowc_utf8 mbrtowc
#define wctomb_utf8 wctomb
#define mbrtowc_utf8 mbrtowc
#define wctomb_utf8 wctomb
-size_t iconv(iconv_t cd0, char **
in, size_t *inb, char **out, size_t *
outb)
+size_t iconv(iconv_t cd0, char **
restrict in, size_t *restrict inb, char **restrict out, size_t *restrict
outb)
{
size_t x=0;
unsigned long cd = (unsigned long)cd0;
{
size_t x=0;
unsigned long cd = (unsigned long)cd0;