summaryrefslogtreecommitdiffstats
path: root/lib/libedit/read.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-04-12 09:04:02 +0000
committerschwarze <schwarze@openbsd.org>2016-04-12 09:04:02 +0000
commite74981d0677cc33a8041daeb29ca0201777d85af (patch)
treec58257f642f69cfd0108bb15b13978cb2696550f /lib/libedit/read.c
parentCall debug register dump functions in error conditions (if VMM_DEBUG set) (diff)
downloadwireguard-openbsd-e74981d0677cc33a8041daeb29ca0201777d85af.tar.xz
wireguard-openbsd-e74981d0677cc33a8041daeb29ca0201777d85af.zip
* Delete the unimplemented feature XK_EXE.
* Delete the unused macro MIN(). No functional change. OK czarkoff@ martijn@
Diffstat (limited to 'lib/libedit/read.c')
-rw-r--r--lib/libedit/read.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c
index 3d17dc1a9a3..85d68358fe7 100644
--- a/lib/libedit/read.c
+++ b/lib/libedit/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.35 2016/04/11 21:17:29 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.36 2016/04/12 09:04:02 schwarze Exp $ */
/* $NetBSD: read.c,v 1.91 2016/04/11 18:56:31 christos Exp $ */
/*-
@@ -92,10 +92,6 @@ el_read_getfn(EditLine *el)
}
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-
#ifdef DEBUG_EDIT
static void
read_debug(EditLine *el)
@@ -239,12 +235,6 @@ read_getcmd(EditLine *el, el_action_t *cmdnum, wchar_t *ch)
case XK_STR:
el_wpush(el, val.str);
break;
-#ifdef notyet
- case XK_EXE:
- /* XXX: In the future to run a user function */
- RunCommand(val.str);
- break;
-#endif
default:
EL_ABORT((el->el_errfile, "Bad XK_ type \n"));
break;