summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/commands.c b/commands.c
index ae81a12..2af7ec4 100644
--- a/commands.c
+++ b/commands.c
@@ -158,20 +158,6 @@ makeBackupName(String buf, String filename, unsigned len)
return (strcmp(filename, buf) ? buf : NULL);
}
-
-#if defined(USG)
-int rename (from, to)
- char *from, *to;
-{
- (void) unlink (to);
- if (link (from, to) == 0) {
- unlink (from);
- return 0;
- } else {
- return -1;
- }
-}
-#endif
/*ARGSUSED*/
void