From cd55fdd445cc5d1ab7b563336a46d80867af7197 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 1 Nov 2008 04:36:24 +0100 Subject: Fix return type of readlink(). --- lib/replace/replace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/replace') diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 8483d934d8..c1444cd5ee 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -232,7 +232,7 @@ int rep_link(const char *oldpath, const char *newpath); #ifndef HAVE_READLINK #define readlink rep_readlink -int rep_readlink(const char *path, char *buf, size_t bufsize); +ssize_t rep_readlink(const char *path, char *buf, size_t bufsize); #endif #ifndef HAVE_SYMLINK -- cgit