diff options
Diffstat (limited to 'lib/libedit/parse.c')
-rw-r--r-- | lib/libedit/parse.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libedit/parse.c b/lib/libedit/parse.c index 75f352e3d3e..1cf6524de1f 100644 --- a/lib/libedit/parse.c +++ b/lib/libedit/parse.c @@ -1,5 +1,5 @@ -/* $OpenBSD: parse.c,v 1.16 2016/03/20 22:57:59 schwarze Exp $ */ -/* $NetBSD: parse.c,v 1.23 2009/12/30 22:37:40 christos Exp $ */ +/* $OpenBSD: parse.c,v 1.17 2016/03/20 23:48:27 schwarze Exp $ */ +/* $NetBSD: parse.c,v 1.35 2016/02/17 19:47:49 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -49,6 +49,7 @@ * setty */ #include <stdlib.h> +#include <string.h> #include "el.h" #include "parse.h" @@ -57,9 +58,9 @@ private const struct { const Char *name; int (*func)(EditLine *, int, const Char **); } cmds[] = { - { STR("bind"), map_bind }, + { STR("bind"), map_bind }, { STR("echotc"), terminal_echotc }, - { STR("edit"), el_editmode }, + { STR("edit"), el_editmode }, { STR("history"), hist_command }, { STR("telltc"), terminal_telltc }, { STR("settc"), terminal_settc }, |