From: Jelmer Vernooij Date: Sat, 1 Nov 2008 03:36:24 +0000 (+0100) Subject: Fix return type of readlink(). X-Git-Tag: samba-4.0.0alpha6~584 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd55fdd445cc5d1ab7b563336a46d80867af7197;p=thirdparty%2Fsamba.git Fix return type of readlink(). --- diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 8483d934d83..c1444cd5ee5 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