From 13cd969552409e05c941829f2aabb15e2f4d9a1f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 13 Sep 2011 21:09:35 -0400 Subject: fix various errors in function signatures/prototypes found by nsz --- src/unistd/readlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/readlink.c') diff --git a/src/unistd/readlink.c b/src/unistd/readlink.c index 11f45c01..0c6d3861 100644 --- a/src/unistd/readlink.c +++ b/src/unistd/readlink.c @@ -1,7 +1,7 @@ #include #include "syscall.h" -int readlink(const char *path, char *buf, size_t bufsize) +ssize_t readlink(const char *path, char *buf, size_t bufsize) { return syscall(SYS_readlink, path, buf, bufsize); } -- cgit v1.2.1