diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-18 17:26:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-18 17:26:52 +0000 |
commit | 8ab08406dadea2499a556446a0112b9a104cb1d3 (patch) | |
tree | 98164fd35a5f4de21bd0c4a23540d9f7aaf75408 /newlib/libc/stdlib/strtoull.c | |
parent | 7c62befe16da50189ee807356b84822bdc5f42e6 (diff) | |
download | cygnal-8ab08406dadea2499a556446a0112b9a104cb1d3.tar.gz cygnal-8ab08406dadea2499a556446a0112b9a104cb1d3.tar.bz2 cygnal-8ab08406dadea2499a556446a0112b9a104cb1d3.zip |
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/strtoull.c')
-rw-r--r-- | newlib/libc/stdlib/strtoull.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/newlib/libc/stdlib/strtoull.c b/newlib/libc/stdlib/strtoull.c index ec168b7f9..13a54dbb4 100644 --- a/newlib/libc/stdlib/strtoull.c +++ b/newlib/libc/stdlib/strtoull.c @@ -9,11 +9,11 @@ INDEX ANSI_SYNOPSIS #include <stdlib.h> - unsigned long long strtoull(const char *<[s]>, char **<[ptr]>, + unsigned long long strtoull(const char *restrict <[s]>, char **restrict <[ptr]>, int <[base]>); - unsigned long long _strtoull_r(void *<[reent]>, const char *<[s]>, - char **<[ptr]>, int <[base]>); + unsigned long long _strtoull_r(void *<[reent]>, const char *restrict <[s]>, + char **restrict <[ptr]>, int <[base]>); TRAD_SYNOPSIS #include <stdlib.h> @@ -129,8 +129,8 @@ PORTABILITY unsigned long long _DEFUN (strtoull, (s, ptr, base), - _CONST char *s _AND - char **ptr _AND + _CONST char *__restrict s _AND + char **__restrict ptr _AND int base) { return _strtoull_r (_REENT, s, ptr, base); |