Fix prototypes for getdents, read, readlink

This commit is contained in:
Arun Thomas
2012-08-10 22:09:43 +02:00
parent fbad9eaf95
commit 65a87d5bcb
5 changed files with 4 additions and 12 deletions

View File

@@ -107,7 +107,7 @@ DIR *__opendir2(const char *, int) __RENAME(__opendir230);
int scandir(const char *, struct dirent ***,
int (*)(const struct dirent *), int (*)(const void *, const void *))
__RENAME(__scandir30);
int getdents(int, char *, size_t) __RENAME(__getdents30);
ssize_t getdents(int, char *, size_t) __RENAME(__getdents30);
int alphasort(const void *, const void *) __RENAME(__alphasort30);
#endif
#endif /* defined(_NETBSD_SOURCE) */