summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/vms/unlink.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>2001-09-28 22:45:44 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>2001-09-28 22:45:44 +0000
commitba1dc3b9e4f3402b435edad6e14f34a79f4748fa (patch)
tree8e10de858a180b8b10c3a0774229ddc53ac99b00 /gnu/usr.bin/cvs/vms/unlink.c
parent79da6d2ec924cfdf612531607a5ae97264df2270 (diff)
Latest from Cyclic Software
Diffstat (limited to 'gnu/usr.bin/cvs/vms/unlink.c')
-rw-r--r--gnu/usr.bin/cvs/vms/unlink.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/vms/unlink.c b/gnu/usr.bin/cvs/vms/unlink.c
index 8bda6554863..80a5a748713 100644
--- a/gnu/usr.bin/cvs/vms/unlink.c
+++ b/gnu/usr.bin/cvs/vms/unlink.c
@@ -2,7 +2,13 @@
/* UNIX-like file deletion, deletes previous VMS file versions so UNIX
style locking through files dosen't lose. */
-int unlink(char *path)
+#ifndef __VMS_VER
+int vms_unlink(char *path)
+#elif __VMS_VER < 70200000
+int vms_unlink(char *path)
+#else
+int vms_unlink(char const*path)
+#endif
{
int rs, junk_rs;