summaryrefslogtreecommitdiff
path: root/lib/libedit/makelist
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-02-16 14:06:05 +0000
committerchristos <christos@NetBSD.org>2016-02-16 14:06:05 +0000
commitbe424bf8b740bd3443f2cf214257bfde4d6360c8 (patch)
treef000b712722487602832028e1696902783938109 /lib/libedit/makelist
parent5755da731bda2d7941f2684d17132c645c0c2646 (diff)
cleanup inclusion of histedit.h (Ingo Schwarze)
Diffstat (limited to 'lib/libedit/makelist')
-rw-r--r--lib/libedit/makelist10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libedit/makelist b/lib/libedit/makelist
index 5e5b4861ba9..a5b56ad79a7 100644
--- a/lib/libedit/makelist
+++ b/lib/libedit/makelist
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: makelist,v 1.19 2016/02/14 14:49:34 christos Exp $
+# $NetBSD: makelist,v 1.20 2016/02/16 14:06:05 christos Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@@ -93,7 +93,9 @@ _EOF
cat $FILES | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
- printf("#include \"config.h\"\n#include \"el.h\"\n");
+ printf("#include \"config.h\"\n");
+ printf("#include \"histedit.h\"\n");
+ printf("#include \"el.h\"\n");
printf("#include \"chartype.h\"\n");
printf("private const struct el_bindings_t el_func_help[] = {\n");
low = "abcdefghijklmnopqrstuvwxyz_";
@@ -175,7 +177,9 @@ _EOF
cat $FILES | $AWK '/el_action_t/ { print $3 }' | sort | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
- printf("#include \"config.h\"\n#include \"el.h\"\n");
+ printf("#include \"config.h\"\n");
+ printf("#include \"histedit.h\"\n");
+ printf("#include \"el.h\"\n");
printf("private const el_func_t el_func[] = {");
maxlen = 80;
needn = 1;