summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:35:58 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:35:58 +0100
commite8cda43e171c1aa8f4b858228e715290d400691c (patch)
tree38f8fec8ef93ba577920e3d8abf276771ba6caf5 /source3/lib
parentdbda9adfaf388f62cf359ea728ae303d81df81a9 (diff)
downloadsamba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.gz
samba-e8cda43e171c1aa8f4b858228e715290d400691c.tar.bz2
samba-e8cda43e171c1aa8f4b858228e715290d400691c.zip
Move sys_symlink() 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 ac64954107..e2ed11d450 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -581,20 +581,6 @@ char *sys_getwd(char *s)
}
/*******************************************************************
-system wrapper for symlink
-********************************************************************/
-
-int sys_symlink(const char *oldpath, const char *newpath)
-{
-#ifndef HAVE_SYMLINK
- errno = ENOSYS;
- return -1;
-#else
- return symlink(oldpath, newpath);
-#endif
-}
-
-/*******************************************************************
Wrapper for lchown.
********************************************************************/