aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/wcstombs.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-18 17:26:52 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-18 17:26:52 +0000
commit8ab08406dadea2499a556446a0112b9a104cb1d3 (patch)
tree98164fd35a5f4de21bd0c4a23540d9f7aaf75408 /newlib/libc/stdlib/wcstombs.c
parent7c62befe16da50189ee807356b84822bdc5f42e6 (diff)
downloadnewlib-8ab08406dadea2499a556446a0112b9a104cb1d3.zip
newlib-8ab08406dadea2499a556446a0112b9a104cb1d3.tar.gz
newlib-8ab08406dadea2499a556446a0112b9a104cb1d3.tar.bz2
2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com>
* libc/include/stdlib.h, libc/stdlib/mbstowcs.c, libc/stdlib/mbstowcs_r.c, libc/stdlib/mbtowc.c, libc/stdlib/mbtowc_r.c, libc/stdlib/strtod.c, libc/stdlib/strtol.c, libc/stdlib/strtold.c, libc/stdlib/strtoll.c, libc/stdlib/strtoll_r.c, libc/stdlib/strtoul.c, libc/stdlib/strtoull.c, libc/stdlib/strtoull_r.c, libc/stdlib/wcstombs.c, libc/stdlib/wcstombs_r.c: Add restrict keyword.
Diffstat (limited to 'newlib/libc/stdlib/wcstombs.c')
-rw-r--r--newlib/libc/stdlib/wcstombs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/wcstombs.c b/newlib/libc/stdlib/wcstombs.c
index d0ef26e..b0123a3 100644
--- a/newlib/libc/stdlib/wcstombs.c
+++ b/newlib/libc/stdlib/wcstombs.c
@@ -7,7 +7,7 @@ INDEX
ANSI_SYNOPSIS
#include <stdlib.h>
- size_t wcstombs(char *<[s]>, const wchar_t *<[pwc]>, size_t <[n]>);
+ size_t wcstombs(char *restrict <[s]>, const wchar_t *restrict <[pwc]>, size_t <[n]>);
TRAD_SYNOPSIS
#include <stdlib.h>
@@ -56,8 +56,8 @@ effects vary with the locale.
size_t
_DEFUN (wcstombs, (s, pwcs, n),
- char *s _AND
- const wchar_t *pwcs _AND
+ char *__restrict s _AND
+ const wchar_t *__restrict pwcs _AND
size_t n)
{
#ifdef _MB_CAPABLE