From 8ab08406dadea2499a556446a0112b9a104cb1d3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 18 Nov 2013 17:26:52 +0000 Subject: 2013-11-18 Sahil Patnayakuni * 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. --- newlib/libc/stdlib/strtoull.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'newlib/libc/stdlib/strtoull.c') 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 - 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 @@ -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); -- cgit v1.2.3