summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-02-16 14:08:25 +0000
committerchristos <christos@NetBSD.org>2016-02-16 14:08:25 +0000
commit7a82ed4a7d78cfb213d3da53cafd833ea5a38040 (patch)
tree512fe5d60a43a75454d429731d88209f6edce2d9 /lib/libedit
parent2265396d9e5a1d6b95043e000ab2ba7f63f9c84f (diff)
cleanup chartype.h includes (Ingo Schwarze)
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/chared.c5
-rw-r--r--lib/libedit/chartype.c8
-rw-r--r--lib/libedit/common.c5
-rw-r--r--lib/libedit/el.c5
-rw-r--r--lib/libedit/el.h3
-rw-r--r--lib/libedit/eln.c5
-rw-r--r--lib/libedit/emacs.c5
-rw-r--r--lib/libedit/filecomplete.c5
-rw-r--r--lib/libedit/hist.c5
-rw-r--r--lib/libedit/keymacro.c5
-rw-r--r--lib/libedit/makelist5
-rw-r--r--lib/libedit/map.c5
-rw-r--r--lib/libedit/parse.c5
-rw-r--r--lib/libedit/prompt.c5
-rw-r--r--lib/libedit/read.c5
-rw-r--r--lib/libedit/readline.c5
-rw-r--r--lib/libedit/refresh.c5
-rw-r--r--lib/libedit/search.c5
-rw-r--r--lib/libedit/sig.c5
-rw-r--r--lib/libedit/terminal.c5
-rw-r--r--lib/libedit/tty.c5
-rw-r--r--lib/libedit/vi.c5
22 files changed, 66 insertions, 45 deletions
diff --git a/lib/libedit/chared.c b/lib/libedit/chared.c
index 5a30235c6d3..1007fc25be6 100644
--- a/lib/libedit/chared.c
+++ b/lib/libedit/chared.c
@@ -1,4 +1,4 @@
-/* $NetBSD: chared.c,v 1.42 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: chared.c,v 1.43 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)chared.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: chared.c,v 1.42 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: chared.c,v 1.43 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -47,6 +47,7 @@ __RCSID("$NetBSD: chared.c,v 1.42 2016/02/16 14:06:05 christos Exp $");
#include <stdlib.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
private void ch__clearmacro (EditLine *);
diff --git a/lib/libedit/chartype.c b/lib/libedit/chartype.c
index fe925b1e08e..a64046d602d 100644
--- a/lib/libedit/chartype.c
+++ b/lib/libedit/chartype.c
@@ -1,4 +1,4 @@
-/* $NetBSD: chartype.c,v 1.15 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: chartype.c,v 1.16 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -38,12 +38,14 @@
*/
#include "config.h"
#if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: chartype.c,v 1.15 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: chartype.c,v 1.16 2016/02/16 14:08:25 christos Exp $");
#endif /* not lint && not SCCSID */
+#include <stdlib.h>
+
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
-#include <stdlib.h>
#define CT_BUFSIZ ((size_t)1024)
diff --git a/lib/libedit/common.c b/lib/libedit/common.c
index 1e7123c8801..a6d4d930a91 100644
--- a/lib/libedit/common.c
+++ b/lib/libedit/common.c
@@ -1,4 +1,4 @@
-/* $NetBSD: common.c,v 1.32 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: common.c,v 1.33 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)common.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: common.c,v 1.32 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: common.c,v 1.33 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -45,6 +45,7 @@ __RCSID("$NetBSD: common.c,v 1.32 2016/02/16 14:06:05 christos Exp $");
* common.c: Common Editor functions
*/
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
/* ed_end_of_file():
diff --git a/lib/libedit/el.c b/lib/libedit/el.c
index 254b945661f..183debcf9d8 100644
--- a/lib/libedit/el.c
+++ b/lib/libedit/el.c
@@ -1,4 +1,4 @@
-/* $NetBSD: el.c,v 1.78 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: el.c,v 1.79 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
#else
-__RCSID("$NetBSD: el.c,v 1.78 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: el.c,v 1.79 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -56,6 +56,7 @@ __RCSID("$NetBSD: el.c,v 1.78 2016/02/16 14:06:05 christos Exp $");
#endif
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
/* el_init():
diff --git a/lib/libedit/el.h b/lib/libedit/el.h
index f8833925c36..63ce995d0ed 100644
--- a/lib/libedit/el.h
+++ b/lib/libedit/el.h
@@ -1,4 +1,4 @@
-/* $NetBSD: el.h,v 1.27 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: el.h,v 1.28 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -46,7 +46,6 @@
#define VIDEFAULT
#define ANCHOR
-#include "chartype.h"
#include <stdio.h>
#include <sys/types.h>
diff --git a/lib/libedit/eln.c b/lib/libedit/eln.c
index 2792e09b773..6443d173078 100644
--- a/lib/libedit/eln.c
+++ b/lib/libedit/eln.c
@@ -1,4 +1,4 @@
-/* $NetBSD: eln.c,v 1.23 2016/02/15 21:56:35 christos Exp $ */
+/* $NetBSD: eln.c,v 1.24 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -34,10 +34,11 @@
*/
#include "config.h"
#if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: eln.c,v 1.23 2016/02/15 21:56:35 christos Exp $");
+__RCSID("$NetBSD: eln.c,v 1.24 2016/02/16 14:08:25 christos Exp $");
#endif /* not lint && not SCCSID */
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
#include "read.h"
#include <errno.h>
diff --git a/lib/libedit/emacs.c b/lib/libedit/emacs.c
index e8fe2b6267e..4d72356cb28 100644
--- a/lib/libedit/emacs.c
+++ b/lib/libedit/emacs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: emacs.c,v 1.28 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: emacs.c,v 1.29 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)emacs.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: emacs.c,v 1.28 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: emacs.c,v 1.29 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -45,6 +45,7 @@ __RCSID("$NetBSD: emacs.c,v 1.28 2016/02/16 14:06:05 christos Exp $");
* emacs.c: Emacs functions
*/
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
/* em_delete_or_list():
diff --git a/lib/libedit/filecomplete.c b/lib/libedit/filecomplete.c
index a6990e0610a..bc547cc356d 100644
--- a/lib/libedit/filecomplete.c
+++ b/lib/libedit/filecomplete.c
@@ -1,4 +1,4 @@
-/* $NetBSD: filecomplete.c,v 1.35 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: filecomplete.c,v 1.36 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include "config.h"
#if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: filecomplete.c,v 1.35 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: filecomplete.c,v 1.36 2016/02/16 14:08:25 christos Exp $");
#endif /* not lint && not SCCSID */
#include <sys/types.h>
@@ -48,6 +48,7 @@ __RCSID("$NetBSD: filecomplete.c,v 1.35 2016/02/16 14:06:05 christos Exp $");
#include <fcntl.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
#include "fcns.h" /* for EL_NUM_FCNS */
#include "filecomplete.h"
diff --git a/lib/libedit/hist.c b/lib/libedit/hist.c
index dd72844313f..7430f33eb6f 100644
--- a/lib/libedit/hist.c
+++ b/lib/libedit/hist.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hist.c,v 1.21 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: hist.c,v 1.22 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)hist.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: hist.c,v 1.21 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: hist.c,v 1.22 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -47,6 +47,7 @@ __RCSID("$NetBSD: hist.c,v 1.21 2016/02/16 14:06:05 christos Exp $");
#include <stdlib.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
/* hist_init():
diff --git a/lib/libedit/keymacro.c b/lib/libedit/keymacro.c
index a7bb094c910..f87d4eaf80a 100644
--- a/lib/libedit/keymacro.c
+++ b/lib/libedit/keymacro.c
@@ -1,4 +1,4 @@
-/* $NetBSD: keymacro.c,v 1.10 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: keymacro.c,v 1.11 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)key.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: keymacro.c,v 1.10 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: keymacro.c,v 1.11 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -67,6 +67,7 @@ __RCSID("$NetBSD: keymacro.c,v 1.10 2016/02/16 14:06:05 christos Exp $");
#include <stdlib.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
/*
diff --git a/lib/libedit/makelist b/lib/libedit/makelist
index a5b56ad79a7..56de2167d03 100644
--- a/lib/libedit/makelist
+++ b/lib/libedit/makelist
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: makelist,v 1.20 2016/02/16 14:06:05 christos Exp $
+# $NetBSD: makelist,v 1.21 2016/02/16 14:08:25 christos Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -95,8 +95,8 @@ _EOF
printf("/* Automatically generated file, do not edit */\n");
printf("#include \"config.h\"\n");
printf("#include \"histedit.h\"\n");
- printf("#include \"el.h\"\n");
printf("#include \"chartype.h\"\n");
+ printf("#include \"el.h\"\n");
printf("private const struct el_bindings_t el_func_help[] = {\n");
low = "abcdefghijklmnopqrstuvwxyz_";
high = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_";
@@ -179,6 +179,7 @@ _EOF
printf("/* Automatically generated file, do not edit */\n");
printf("#include \"config.h\"\n");
printf("#include \"histedit.h\"\n");
+ printf("#include \"chartype.h\"\n");
printf("#include \"el.h\"\n");
printf("private const el_func_t el_func[] = {");
maxlen = 80;
diff --git a/lib/libedit/map.c b/lib/libedit/map.c
index 9265dc5b396..49741d28846 100644
--- a/lib/libedit/map.c
+++ b/lib/libedit/map.c
@@ -1,4 +1,4 @@
-/* $NetBSD: map.c,v 1.38 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: map.c,v 1.39 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)map.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: map.c,v 1.38 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: map.c,v 1.39 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -47,6 +47,7 @@ __RCSID("$NetBSD: map.c,v 1.38 2016/02/16 14:06:05 christos Exp $");
#include <stdlib.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
private void map_print_key(EditLine *, el_action_t *, const Char *);
diff --git a/lib/libedit/parse.c b/lib/libedit/parse.c
index 012b8e97762..cb4e060b14c 100644
--- a/lib/libedit/parse.c
+++ b/lib/libedit/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.30 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: parse.c,v 1.31 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: parse.c,v 1.30 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: parse.c,v 1.31 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -57,6 +57,7 @@ __RCSID("$NetBSD: parse.c,v 1.30 2016/02/16 14:06:05 christos Exp $");
#include <stdlib.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
private const struct {
diff --git a/lib/libedit/prompt.c b/lib/libedit/prompt.c
index 648f1f7e9fd..cbc38bc4ef7 100644
--- a/lib/libedit/prompt.c
+++ b/lib/libedit/prompt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: prompt.c,v 1.21 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: prompt.c,v 1.22 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)prompt.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: prompt.c,v 1.21 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: prompt.c,v 1.22 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -47,6 +47,7 @@ __RCSID("$NetBSD: prompt.c,v 1.21 2016/02/16 14:06:05 christos Exp $");
#include <stdio.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
private Char *prompt_default(EditLine *);
diff --git a/lib/libedit/read.c b/lib/libedit/read.c
index 74cb77f2db9..59dddf75188 100644
--- a/lib/libedit/read.c
+++ b/lib/libedit/read.c
@@ -1,4 +1,4 @@
-/* $NetBSD: read.c,v 1.78 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: read.c,v 1.79 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: read.c,v 1.78 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: read.c,v 1.79 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -52,6 +52,7 @@ __RCSID("$NetBSD: read.c,v 1.78 2016/02/16 14:06:05 christos Exp $");
#include <limits.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
#define OKCMD -1 /* must be -1! */
diff --git a/lib/libedit/readline.c b/lib/libedit/readline.c
index 3dc3dbf38a6..23930717dad 100644
--- a/lib/libedit/readline.c
+++ b/lib/libedit/readline.c
@@ -1,4 +1,4 @@
-/* $NetBSD: readline.c,v 1.121 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: readline.c,v 1.122 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include "config.h"
#if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: readline.c,v 1.121 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: readline.c,v 1.122 2016/02/16 14:08:25 christos Exp $");
#endif /* not lint && not SCCSID */
#include <sys/types.h>
@@ -52,6 +52,7 @@ __RCSID("$NetBSD: readline.c,v 1.121 2016/02/16 14:06:05 christos Exp $");
#include "readline/readline.h"
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
#include "fcns.h" /* for EL_NUM_FCNS */
#include "filecomplete.h"
diff --git a/lib/libedit/refresh.c b/lib/libedit/refresh.c
index 718eff923fd..fb9ed990aa5 100644
--- a/lib/libedit/refresh.c
+++ b/lib/libedit/refresh.c
@@ -1,4 +1,4 @@
-/* $NetBSD: refresh.c,v 1.40 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: refresh.c,v 1.41 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)refresh.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: refresh.c,v 1.40 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.41 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -50,6 +50,7 @@ __RCSID("$NetBSD: refresh.c,v 1.40 2016/02/16 14:06:05 christos Exp $");
#include <string.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
private void re_nextline(EditLine *);
diff --git a/lib/libedit/search.c b/lib/libedit/search.c
index bd09da9c1b2..c4408d9cb12 100644
--- a/lib/libedit/search.c
+++ b/lib/libedit/search.c
@@ -1,4 +1,4 @@
-/* $NetBSD: search.c,v 1.34 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: search.c,v 1.35 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)search.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: search.c,v 1.34 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: search.c,v 1.35 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -52,6 +52,7 @@ __RCSID("$NetBSD: search.c,v 1.34 2016/02/16 14:06:05 christos Exp $");
#endif
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
/*
diff --git a/lib/libedit/sig.c b/lib/libedit/sig.c
index 1128e535695..acdb16e4054 100644
--- a/lib/libedit/sig.c
+++ b/lib/libedit/sig.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sig.c,v 1.20 2016/02/16 14:07:47 christos Exp $ */
+/* $NetBSD: sig.c,v 1.21 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)sig.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: sig.c,v 1.20 2016/02/16 14:07:47 christos Exp $");
+__RCSID("$NetBSD: sig.c,v 1.21 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -50,6 +50,7 @@ __RCSID("$NetBSD: sig.c,v 1.20 2016/02/16 14:07:47 christos Exp $");
#include <stdlib.h>
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
private EditLine *sel = NULL;
diff --git a/lib/libedit/terminal.c b/lib/libedit/terminal.c
index d4d73f43929..95a1db3c8e6 100644
--- a/lib/libedit/terminal.c
+++ b/lib/libedit/terminal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: terminal.c,v 1.19 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: terminal.c,v 1.20 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
#else
-__RCSID("$NetBSD: terminal.c,v 1.19 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: terminal.c,v 1.20 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -74,6 +74,7 @@ __RCSID("$NetBSD: terminal.c,v 1.19 2016/02/16 14:06:05 christos Exp $");
#endif
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
/*
diff --git a/lib/libedit/tty.c b/lib/libedit/tty.c
index c6941691681..026b9418380 100644
--- a/lib/libedit/tty.c
+++ b/lib/libedit/tty.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tty.c,v 1.52 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: tty.c,v 1.53 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: tty.c,v 1.52 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: tty.c,v 1.53 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -51,6 +51,7 @@ __RCSID("$NetBSD: tty.c,v 1.52 2016/02/16 14:06:05 christos Exp $");
#include <stdlib.h> /* for abort */
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
#include "tty.h"
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c
index 52a1caac48e..7dee83ce658 100644
--- a/lib/libedit/vi.c
+++ b/lib/libedit/vi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vi.c,v 1.49 2016/02/16 14:06:05 christos Exp $ */
+/* $NetBSD: vi.c,v 1.50 2016/02/16 14:08:25 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)vi.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: vi.c,v 1.49 2016/02/16 14:06:05 christos Exp $");
+__RCSID("$NetBSD: vi.c,v 1.50 2016/02/16 14:08:25 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -50,6 +50,7 @@ __RCSID("$NetBSD: vi.c,v 1.49 2016/02/16 14:06:05 christos Exp $");
* vi.c: Vi mode commands.
*/
#include "histedit.h"
+#include "chartype.h"
#include "el.h"
private el_action_t cv_action(EditLine *, wint_t);