libcsupport: readlink: add c99 'restrict' keyword

Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
This commit is contained in:
Chirayu Desai
2013-11-29 17:24:41 -06:00
committed by Joel Sherrill
parent e5d60243f9
commit 4f8ac347f3
+2 -1
View File
@@ -25,7 +25,8 @@
/**
* POSIX 1003.1b - X.X.X - XXX
*/
ssize_t readlink( const char *path, char *buf, size_t bufsize )
ssize_t readlink( const char *__restrict path, char *__restrict buf,
size_t bufsize )
{
ssize_t rv = 0;
rtems_filesystem_eval_path_context_t ctx;