summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:33:39 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:33:39 +0100
commitdbda9adfaf388f62cf359ea728ae303d81df81a9 (patch)
treef6f75230432f02af3bcbffa59adc55e6b6c95244 /source3/lib
parentbbbe6ab72284c78c095babd875070aaac8c477dd (diff)
downloadsamba-dbda9adfaf388f62cf359ea728ae303d81df81a9.tar.gz
samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.tar.bz2
samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.zip
Move sys_readlink() to libreplace.
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index cb3551c11e..ac64954107 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -595,20 +595,6 @@ int sys_symlink(const char *oldpath, const char *newpath)
}
/*******************************************************************
-system wrapper for readlink
-********************************************************************/
-
-int sys_readlink(const char *path, char *buf, size_t bufsiz)
-{
-#ifndef HAVE_READLINK
- errno = ENOSYS;
- return -1;
-#else
- return readlink(path, buf, bufsiz);
-#endif
-}
-
-/*******************************************************************
Wrapper for lchown.
********************************************************************/