summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:30:47 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:30:47 +0100
commitbbbe6ab72284c78c095babd875070aaac8c477dd (patch)
tree192d0853abe91859ec616a1ca463100da1fa4fc1 /source3/lib
parentcdf8f5786387c4764fa790ab5def04dfff8b9af5 (diff)
downloadsamba-bbbe6ab72284c78c095babd875070aaac8c477dd.tar.gz
samba-bbbe6ab72284c78c095babd875070aaac8c477dd.tar.bz2
samba-bbbe6ab72284c78c095babd875070aaac8c477dd.zip
Move sys_link 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 7f5f572255..cb3551c11e 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -609,20 +609,6 @@ int sys_readlink(const char *path, char *buf, size_t bufsiz)
}
/*******************************************************************
-system wrapper for link
-********************************************************************/
-
-int sys_link(const char *oldpath, const char *newpath)
-{
-#ifndef HAVE_LINK
- errno = ENOSYS;
- return -1;
-#else
- return link(oldpath, newpath);
-#endif
-}
-
-/*******************************************************************
Wrapper for lchown.
********************************************************************/