mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 11:59:53 +08:00
libcsupport: readlink: add c99 'restrict' keyword
Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
This commit is contained in:
committed by
Joel Sherrill
parent
e5d60243f9
commit
4f8ac347f3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user