Throughout, keep function definitions and declarations in sync with

newlib in terms of C99 "restrict" keyword.
This commit is contained in:
Corinna Vinschen
2013-11-25 11:38:08 +00:00
parent bd1af1cab5
commit 3073f26d6a
15 changed files with 47 additions and 30 deletions

View File

@@ -177,7 +177,7 @@ readdir (DIR *dir)
}
extern "C" int
readdir_r (DIR *dir, dirent *de, dirent **ode)
readdir_r (DIR *__restrict dir, dirent *__restrict de, dirent **__restrict ode)
{
int res = readdir_worker (dir, de);
if (!res)