summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2008-02-26 20:33:52 +0000
committerru <ru@FreeBSD.org>2008-02-26 20:33:52 +0000
commitf12be23c59237af6f4739c6d7763f7ee039dc9e9 (patch)
tree5dd57b2dc8ddff1da553e90847f300a69c81ce6d /include/unistd.h
parent8f9a5ef13f41c23ac68bd42ad1ab4ec1a9308790 (diff)
downloadFreeBSD-src-f12be23c59237af6f4739c6d7763f7ee039dc9e9.zip
FreeBSD-src-f12be23c59237af6f4739c6d7763f7ee039dc9e9.tar.gz
Added the "restrict" type-qualifier to the readlink() prototype.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h2
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);
OpenPOWER on IntegriCloud