summaryrefslogtreecommitdiff
path: root/lib/libedit/vi.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/vi.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/vi.c')
-rw-r--r--lib/libedit/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c
index 9574352505d..fd43edba126 100644
--- a/lib/libedit/vi.c
+++ b/lib/libedit/vi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vi.c,v 1.24 2016/04/11 21:17:29 schwarze Exp $ */
+/* $OpenBSD: vi.c,v 1.25 2016/05/06 13:12:52 schwarze Exp $ */
/* $NetBSD: vi.c,v 1.33 2011/02/17 16:44:48 joerg Exp $ */
/*-
@@ -48,6 +48,7 @@
#include "el.h"
#include "common.h"
#include "emacs.h"
+#include "fcns.h"
#include "vi.h"
static el_action_t cv_action(EditLine *, wint_t);