summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:42:27 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:42:27 +0100
commita6d537bb6cec25eb27cf8884ca5e3362a86818b3 (patch)
treeacac8aa6554cd6910ec00716b2b3e40bbe4b4fe4 /source3/lib/system.c
parent38d67363aca81b970717c58b07e04396ae9dfd9f (diff)
downloadsamba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.tar.gz
samba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.tar.bz2
samba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.zip
Move sys_realpath() to libreplace.
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 27722fcab2..da2797322a 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -538,21 +538,6 @@ int sys_mknod(const char *path, mode_t mode, SMB_DEV_T dev)
}
/*******************************************************************
- Wrapper for realpath.
-********************************************************************/
-
-char *sys_realpath(const char *path, char *resolved_path)
-{
-#if defined(HAVE_REALPATH)
- return realpath(path, resolved_path);
-#else
- /* As realpath is not a system call we can't return ENOSYS. */
- errno = EINVAL;
- return NULL;
-#endif
-}
-
-/*******************************************************************
The wait() calls vary between systems
********************************************************************/