summaryrefslogtreecommitdiff
path: root/lib/libedit/parse.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-02-16 15:53:48 +0000
committerchristos <christos@NetBSD.org>2016-02-16 15:53:48 +0000
commitaf0ffa531c48e0833e330607caa18360fc09fc9a (patch)
tree2be65e167191442b9c5a367fa99555f4d9b4fc09 /lib/libedit/parse.c
parent7a82ed4a7d78cfb213d3da53cafd833ea5a38040 (diff)
From Ingo Scharze:
Let "el.h" include everything needed for struct editline, and don't include that stuff multiple times. That also improves consistency, also avoids circular inclusions, and also makes it easier to follow what is going on, even though not quite as nice. But it seems like the best we can do...
Diffstat (limited to 'lib/libedit/parse.c')
-rw-r--r--lib/libedit/parse.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libedit/parse.c b/lib/libedit/parse.c
index cb4e060b14c..1c4bcdf4ab4 100644
--- a/lib/libedit/parse.c
+++ b/lib/libedit/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.31 2016/02/16 14:08:25 christos Exp $ */
+/* $NetBSD: parse.c,v 1.32 2016/02/16 15:53:48 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.31 2016/02/16 14:08:25 christos Exp $");
+__RCSID("$NetBSD: parse.c,v 1.32 2016/02/16 15:53:48 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -54,11 +54,8 @@ __RCSID("$NetBSD: parse.c,v 1.31 2016/02/16 14:08:25 christos Exp $");
* settc
* setty
*/
-#include <stdlib.h>
-
-#include "histedit.h"
-#include "chartype.h"
#include "el.h"
+#include <stdlib.h>
private const struct {
const Char *name;