2013-11-20 Daniel Ramirez <javamonn@gmail.com>
* libc/iconv/lib/iconv.c, libc/include/iconv.h, libc/sys/linux/iconv/iconv.c: Add restrict keyword.
This commit is contained in:
@ -29,8 +29,10 @@
|
||||
|
||||
|
||||
size_t
|
||||
iconv (iconv_t cd, char **inbuf, size_t *inbytesleft, char **outbuf,
|
||||
size_t *outbytesleft)
|
||||
iconv (iconv_t cd, char **__restrict inbuf,
|
||||
size_t *__restrict inbytesleft,
|
||||
char **__restrict outbuf,
|
||||
size_t *__restrict outbytesleft)
|
||||
{
|
||||
__gconv_t gcd = (__gconv_t) cd;
|
||||
char *outstart = outbuf ? *outbuf : NULL;
|
||||
|
Reference in New Issue
Block a user