summaryrefslogtreecommitdiffstats
path: root/lib/libedit/read.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-05-06 13:12:52 +0000
committerschwarze <schwarze@openbsd.org>2016-05-06 13:12:52 +0000
commit13e01c7add293760b137f79ec359a58715043708 (patch)
tree60a58daac4b2b21aaa9b74e0a36f1a2ca53aff80 /lib/libedit/read.c
parentMake sure we always update both bits that control the bus width. Also make (diff)
downloadwireguard-openbsd-13e01c7add293760b137f79ec359a58715043708.tar.xz
wireguard-openbsd-13e01c7add293760b137f79ec359a58715043708.zip
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/read.c')
-rw-r--r--lib/libedit/read.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c
index d1b1f6d7283..dd19b6ffcaf 100644
--- a/lib/libedit/read.c
+++ b/lib/libedit/read.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: read.c,v 1.38 2016/04/13 09:42:41 schwarze Exp $ */
-/* $NetBSD: read.c,v 1.92 2016/04/12 00:16:06 christos Exp $ */
+/* $OpenBSD: read.c,v 1.39 2016/05/06 13:12:52 schwarze Exp $ */
+/* $NetBSD: read.c,v 1.94 2016/04/18 17:01:19 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -48,6 +48,7 @@
#include <unistd.h>
#include "el.h"
+#include "fcns.h"
static int read__fixio(int, int);
static int read_char(EditLine *, wchar_t *);