and to silence a compiler warning. Also remove its prototype, which is
directly above its definition.
ok tedu@
-/* $OpenBSD: emacs.c,v 1.57 2015/10/16 17:14:04 mmcc Exp $ */
+/* $OpenBSD: emacs.c,v 1.58 2015/10/16 23:18:59 mmcc Exp $ */
/*
* Emacs-like command line editing and history
return x_insert(c);
}
-static int x_do_ins(const char *cp, int len);
-
static int
-x_do_ins(const char *cp, int len)
+x_do_ins(const char *cp, size_t len)
{
if (xep+len >= xend) {
x_e_putc(BEL);