aboutsummaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c
index 770a030db9..668319235d 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -12,6 +12,8 @@
* the operators.
*/
+#include <string.h>
+
#include "vim.h"
#include "normal.h"
#include "buffer.h"
@@ -522,7 +524,7 @@ normal_cmd (
int idx;
int set_prevcount = FALSE;
- vim_memset(&ca, 0, sizeof(ca)); /* also resets ca.retval */
+ memset(&ca, 0, sizeof(ca)); /* also resets ca.retval */
ca.oap = oap;
/* Use a count remembered from before entering an operator. After typing
@@ -4339,7 +4341,7 @@ void do_nv_ident(int c1, int c2)
cmdarg_T ca;
clear_oparg(&oa);
- vim_memset(&ca, 0, sizeof(ca));
+ memset(&ca, 0, sizeof(ca));
ca.oap = &oa;
ca.cmdchar = c1;
ca.nchar = c2;