Fix return type of readlink().
authorJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 03:36:24 +0000 (04:36 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 03:36:24 +0000 (04:36 +0100)
lib/replace/replace.h

index 8483d934d83c150fb509df9c131638f1f3d2e322..c1444cd5ee5c36ee2ff20657ed63c047013d66b6 100644 (file)
@@ -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