summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index 1fe96edd210..285fa3f3a1d 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -195,21 +195,6 @@ BOOL file_exist(char *fname,SMB_STRUCT_STAT *sbuf)
}
/*******************************************************************
- Rename a unix file.
-********************************************************************/
-
-int file_rename(char *from, char *to)
-{
- int rcode = rename (from, to);
-
- if (errno == EXDEV) {
- /* Rename across filesystems needed. */
- rcode = copy_reg (from, to);
- }
- return rcode;
-}
-
-/*******************************************************************
Check a files mod time.
********************************************************************/