summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index eabb6d6dc4..7f5f572255 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -623,25 +623,6 @@ int sys_link(const char *oldpath, const char *newpath)
}
/*******************************************************************
-chown isn't used much but OS/2 doesn't have it
-********************************************************************/
-
-int sys_chown(const char *fname,uid_t uid,gid_t gid)
-{
-#ifndef HAVE_CHOWN
- static int done;
- if (!done) {
- DEBUG(1,("WARNING: no chown!\n"));
- done=1;
- }
- errno = ENOSYS;
- return -1;
-#else
- return(chown(fname,uid,gid));
-#endif
-}
-
-/*******************************************************************
Wrapper for lchown.
********************************************************************/