diff options
author | ru <ru@FreeBSD.org> | 2008-02-26 20:33:52 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2008-02-26 20:33:52 +0000 |
commit | f12be23c59237af6f4739c6d7763f7ee039dc9e9 (patch) | |
tree | 5dd57b2dc8ddff1da553e90847f300a69c81ce6d /include | |
parent | 8f9a5ef13f41c23ac68bd42ad1ab4ec1a9308790 (diff) | |
download | FreeBSD-src-f12be23c59237af6f4739c6d7763f7ee039dc9e9.zip FreeBSD-src-f12be23c59237af6f4739c6d7763f7ee039dc9e9.tar.gz |
Added the "restrict" type-qualifier to the readlink() prototype.
Diffstat (limited to 'include')
-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 a0e3022..b768685 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); |