aboutsummaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-26 02:51:44 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-26 16:28:13 -0300
commit07dad7acf3d49b3136c5aad2c9fe05abb9aaf032 (patch)
tree97ab0057d5c3cf17d2a2e90862c22432dd11c674 /src/mark.c
parentdbc904956a17e6bec1ddeba9330b639167dbb882 (diff)
downloadrneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.tar.gz
rneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.tar.bz2
rneovim-07dad7acf3d49b3136c5aad2c9fe05abb9aaf032.zip
Use memmove instead of mch_memmove
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