patch 7.4.1460
Problem: Syntax error in rarily used code.
Solution: Fix the mch_rename() declaration. (Ken Takata)
diff --git a/src/os_unix.c b/src/os_unix.c
index 360259a..53d32f7 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -6454,14 +6454,14 @@
}
#endif /* ifndef __EMX__ */
-#ifndef HAVE_RENAME
+#if !defined(HAVE_RENAME) || defined(PROTO)
/*
* Scaled-down version of rename(), which is missing in Xenix.
* This version can only move regular files and will fail if the
* destination exists.
*/
int
-mch_rename(const char *src, *dest)
+mch_rename(const char *src, const char *dest)
{
struct stat st;