0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1460

Problem:    Syntax error in rarily used code.
Solution:   Fix the mch_rename() declaration. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-02-29 12:52:39 +01:00
parent e081e21f76
commit fdcc9afb71
3 changed files with 5 additions and 2 deletions

View File

@@ -6454,14 +6454,14 @@ have_dollars(int num, char_u **file)
}
#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;