diff options
author | 2016-05-06 13:12:52 +0000 | |
---|---|---|
committer | 2016-05-06 13:12:52 +0000 | |
commit | 13e01c7add293760b137f79ec359a58715043708 (patch) | |
tree | 60a58daac4b2b21aaa9b74e0a36f1a2ca53aff80 /lib/libedit/tty.c | |
parent | Make sure we always update both bits that control the bus width. Also make (diff) | |
download | wireguard-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/tty.c')
-rw-r--r-- | lib/libedit/tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libedit/tty.c b/lib/libedit/tty.c index e702ea2bd9d..98ee27a8d4e 100644 --- a/lib/libedit/tty.c +++ b/lib/libedit/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.26 2016/04/11 21:17:29 schwarze Exp $ */ +/* $OpenBSD: tty.c,v 1.27 2016/05/06 13:12:52 schwarze Exp $ */ /* $NetBSD: tty.c,v 1.34 2011/01/27 23:11:40 christos Exp $ */ /*- @@ -46,6 +46,7 @@ #include <unistd.h> /* for isatty */ #include "el.h" +#include "fcns.h" #include "parse.h" typedef struct ttymodes_t { |