summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 04:36:24 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 04:36:24 +0100
commitcd55fdd445cc5d1ab7b563336a46d80867af7197 (patch)
tree27f39ec04e537e3dbdcc4a5334c45fe7313183e6 /lib/replace
parent31fa08dcbdc643ec738474c0be471e77925f76fc (diff)
downloadsamba-cd55fdd445cc5d1ab7b563336a46d80867af7197.tar.gz
samba-cd55fdd445cc5d1ab7b563336a46d80867af7197.tar.bz2
samba-cd55fdd445cc5d1ab7b563336a46d80867af7197.zip
Fix return type of readlink().
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
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