2013-11-22 Chirayu Desai <chirayudesai1@gmail.com>

* libc/include/sys/unistd.h (readlink): Add restrict keyword.
	(readlinkat): Ditto.
	(swab): Ditto.
	* libc/sys/rdos/readlink.c (readlink): Ditto.
	* libc/string/swab.c (swab): Ditto.
This commit is contained in:
Joel Sherrill
2013-11-22 22:39:51 +00:00
parent 2464ecbf64
commit 849fe25d0e
3 changed files with 14 additions and 4 deletions

View File

@ -4,7 +4,7 @@
#include <errno.h>
#include <sys/types.h>
int readlink(const char *path, char *buf, size_t bufsize)
int readlink(const char *__restrict path, char *__restrict buf, size_t bufsize)
{
errno = ENOSYS;
return -1;