2013-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/stdlib.h: Add prototype of realpath(). * libc/sys/linux/realpath.c: Add restrict keyword.
This commit is contained in:
@ -69,7 +69,7 @@ static int resolve_path(char *path,char *result,char *pos)
|
||||
}
|
||||
|
||||
|
||||
char *realpath(const char *path,char *resolved_path)
|
||||
char *realpath(const char *__restrict path,char *__restrict resolved_path)
|
||||
{
|
||||
char cwd[PATH_MAX];
|
||||
char *path_copy;
|
||||
|
||||
Reference in New Issue
Block a user