summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-28 23:02:24 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-28 23:02:24 +0000
commit36c53e8e4f2ec5428404d422d3d6cbf42f4ae491 (patch)
treeab74ac03cc4e947b4adfd75270c69ee35c7181c6 /libc
parent7dbe3ba1b7e7dfc75c181f7947cf57a44e4130d8 (diff)
sync with glibc as pointed out by Bernhard Fischer
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/readlink.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/readlink.c b/libc/sysdeps/linux/common/readlink.c
index 14f3d1515..d68391302 100644
--- a/libc/sysdeps/linux/common/readlink.c
+++ b/libc/sysdeps/linux/common/readlink.c
@@ -2,7 +2,7 @@
/*
* readlink() for uClibc
*
- * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ * Copyright (C) 2000-2007 Erik Andersen <andersen@uclibc.org>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
@@ -11,6 +11,5 @@
#include <unistd.h>
libc_hidden_proto(readlink)
-
-_syscall3(int, readlink, const char *, path, char *, buf, size_t, bufsiz);
+_syscall3(ssize_t, readlink, const char *, path, char *, buf, size_t, bufsiz);
libc_hidden_def(readlink)