Throughout, keep function definitions and declarations in sync with
newlib in terms of C99 "restrict" keyword.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user