diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2008-02-26 20:33:52 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2008-02-26 20:33:52 +0000 |
commit | a059c409c29affe9d5bf1e8301847946a8c30fde (patch) | |
tree | 5dd57b2dc8ddff1da553e90847f300a69c81ce6d /include/unistd.h | |
parent | b03ee585b421e5d3eaa95f6f5ea8c1803c107766 (diff) | |
download | src-test-a059c409c29affe9d5bf1e8301847946a8c30fde.tar.gz src-test-a059c409c29affe9d5bf1e8301847946a8c30fde.zip |
Added the "restrict" type-qualifier to the readlink() prototype.
Notes
Notes:
svn path=/head/; revision=176607
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h index a0e30229b08c4..b7686858cf559 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -405,7 +405,7 @@ int getlogin_r(char *, int); /* 1003.1-2001 */ #if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE int fchown(int, uid_t, gid_t); -ssize_t readlink(const char *, char *, size_t); +ssize_t readlink(const char * __restrict, char * __restrict, size_t); #endif #if __POSIX_VISIBLE >= 200112 int gethostname(char *, size_t); |