diff options
author | Roland McGrath <roland@hack.frob.com> | 2011-11-11 10:02:42 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2011-11-11 10:04:54 -0800 |
commit | 95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5 (patch) | |
tree | 08abd353e10df7cec8b121d0d4c34c3b593f3f8e /include | |
parent | 57769839788e2c62b68d9dfbf4b35052321278ba (diff) | |
download | glibc-95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5.tar.gz glibc-95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5.tar.xz glibc-95b7042bac3e2cfc6fef7aec6acc7d46dd50eba5.zip |
Fix __readlink declaration.
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 5014e2e772..3231943b02 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -117,7 +117,7 @@ extern int __ttyname_r (int __fd, char *__buf, size_t __buflen); extern int __isatty (int __fd); extern int __link (__const char *__from, __const char *__to); extern int __symlink (__const char *__from, __const char *__to); -extern int __readlink (__const char *__path, char *__buf, size_t __len); +extern ssize_t __readlink (__const char *__path, char *__buf, size_t __len); extern int __unlink (__const char *__name); extern int __gethostname (char *__name, size_t __len); extern int __profil (unsigned short int *__sample_buffer, size_t __size, |