summaryrefslogtreecommitdiff
path: root/lib/libedit/keymacro.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-05-06 13:12:53 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-05-06 13:12:53 +0000
commit1ee112da2699e0034a2fd6d205087a7d9fc2e5f9 (patch)
treee65975b53d7de9958219d25a7ab0618e386455ae /lib/libedit/keymacro.c
parent70d6c2ad60711080f497950039724579c997a196 (diff)
Replace the generated file "fcns.c" by a simpler header "func.h"
included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files. Feedback and OK martijn@. First version also proofread by Christian Heckendorf <mbie at ulmus dot me>.
Diffstat (limited to 'lib/libedit/keymacro.c')
-rw-r--r--lib/libedit/keymacro.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libedit/keymacro.c b/lib/libedit/keymacro.c
index eb863fd5f45..a7fa8ae34f3 100644
--- a/lib/libedit/keymacro.c
+++ b/lib/libedit/keymacro.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: keymacro.c,v 1.14 2016/04/12 09:04:02 schwarze Exp $ */
-/* $NetBSD: keymacro.c,v 1.20 2016/04/12 00:16:06 christos Exp $ */
+/* $OpenBSD: keymacro.c,v 1.15 2016/05/06 13:12:52 schwarze Exp $ */
+/* $NetBSD: keymacro.c,v 1.21 2016/04/18 17:01:19 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -61,6 +61,7 @@
#include <string.h>
#include "el.h"
+#include "fcns.h"
/*
* The Nodes of the el->el_keymacro.map. The el->el_keymacro.map is a