aboutsummaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index 937c7a6b74..d153ab0a19 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -11,6 +11,8 @@
* mark.c: functions for setting marks and jumping to them
*/
+#include <string.h>
+
#include "vim.h"
#include "mark.h"
#include "buffer.h"
@@ -1502,7 +1504,7 @@ void copy_viminfo_marks(vir_T *virp, FILE *fp_out, int count, int eof, int flags
* first */
if (curbuf->b_changelistlen == JUMPLISTSIZE)
/* list is full, remove oldest entry */
- mch_memmove(curbuf->b_changelist,
+ memmove(curbuf->b_changelist,
curbuf->b_changelist + 1,
sizeof(pos_T) * (JUMPLISTSIZE - 1));
else