summaryrefslogtreecommitdiffstats
path: root/lib/libedit/chared.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-01-30 00:06:39 +0000
committerschwarze <schwarze@openbsd.org>2016-01-30 00:06:39 +0000
commitfd40972a32cae034e619460a2b6f83c3492db0ca (patch)
tree72798d3d835644ba0a1c63eade7f249cf5f8e482 /lib/libedit/chared.c
parentwhitespace fixes; ok ajacoutot (diff)
downloadwireguard-openbsd-fd40972a32cae034e619460a2b6f83c3492db0ca.tar.xz
wireguard-openbsd-fd40972a32cae034e619460a2b6f83c3492db0ca.zip
Third step in synching with NetBSD:
* rename fkey_t to funckey_t and el_term_t to el_terminal_t * rename struct editline member el_term to el_terminal * rename many functions in terminal.c from term_*() to terminal_*(), for consistency with the file name and to not look related to <term.h> No functional change. This makes refresh.c and sig.c almost identical to the NetBSD versions. It reduces the remaining diff from +2446 -1805 to +2053 -1420. OK czarkoff@
Diffstat (limited to 'lib/libedit/chared.c')
-rw-r--r--lib/libedit/chared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/chared.c b/lib/libedit/chared.c
index 044314b6169..c884d0ea8b3 100644
--- a/lib/libedit/chared.c
+++ b/lib/libedit/chared.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chared.c,v 1.12 2014/10/17 06:07:50 deraadt Exp $ */
+/* $OpenBSD: chared.c,v 1.13 2016/01/30 00:06:39 schwarze Exp $ */
/* $NetBSD: chared.c,v 1.28 2009/12/30 22:37:40 christos Exp $ */
/*-
@@ -745,7 +745,7 @@ c_gets(EditLine *el, Char *buf, const Char *prompt)
default:
if (len >= EL_BUFSIZ - 16)
- term_beep(el);
+ terminal_beep(el);
else {
buf[len++] = ch;
*cp++ = ch;