Add restrict qualifiers where C99 permits them. All of these already had

restrict qualifiers on their prototypes in <wchar.h>.
This commit is contained in:
Tim J. Robbins 2002-09-07 04:03:28 +00:00
parent c58bfeb53b
commit 9c261371ec
6 changed files with 12 additions and 12 deletions

View File

@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
wchar_t *
wcscat(s1, s2)
wchar_t *s1;
const wchar_t *s2;
wchar_t * __restrict s1;
const wchar_t * __restrict s2;
{
wchar_t *p;
wchar_t *q;

View File

@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
wchar_t *
wcscpy(s1, s2)
wchar_t *s1;
const wchar_t *s2;
wchar_t * __restrict s1;
const wchar_t * __restrict s2;
{
wchar_t *p;
const wchar_t *q;

View File

@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
wchar_t *
wcsncat(s1, s2, n)
wchar_t *s1;
const wchar_t *s2;
wchar_t * __restrict s1;
const wchar_t * __restrict s2;
size_t n;
{
wchar_t *p;

View File

@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
wchar_t *
wcsncpy(s1, s2, n)
wchar_t *s1;
const wchar_t *s2;
wchar_t * __restrict s1;
const wchar_t * __restrict s2;
size_t n;
{
wchar_t *p;

View File

@ -39,8 +39,8 @@ __FBSDID("$FreeBSD$");
wchar_t *
wcsstr(big, little)
const wchar_t *big;
const wchar_t *little;
const wchar_t * __restrict big;
const wchar_t * __restrict little;
{
const wchar_t *p;
const wchar_t *q;

View File

@ -40,8 +40,8 @@ __FBSDID("$FreeBSD$");
wchar_t *
wmemcpy(d, s, n)
wchar_t *d;
const wchar_t *s;
wchar_t * __restrict d;
const wchar_t * __restrict s;
size_t n;
{