summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcallah <bcallah@openbsd.org>2015-03-19 21:48:05 +0000
committerbcallah <bcallah@openbsd.org>2015-03-19 21:48:05 +0000
commit7f27a8ec1b6a9653706031167878e49890ce0c75 (patch)
tree2da8578331675cc456027f68ba549eec43ae0e47
parentClean up the includes in mg. (diff)
downloadwireguard-openbsd-7f27a8ec1b6a9653706031167878e49890ce0c75.tar.xz
wireguard-openbsd-7f27a8ec1b6a9653706031167878e49890ce0c75.zip
More unifdef cleanup:
-UDIRED_XMAPS and -UFUND_XMAPS: you can't build mg the other way. -DTIOCGWINSZ: you have this if you have term.h Remove a #define TERMCAP which isn't being used. Remove defines for NDIRED_XMAPS, NFUND_XMAPS, and IMAPEXT. They are all defined to be 0 and are only ever used in addition. We don't need to add 0. Simply lines that were using those defines. ok florian@
-rw-r--r--usr.bin/mg/theo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/theo.c b/usr.bin/mg/theo.c
index 7c59eb38568..7296420462d 100644
--- a/usr.bin/mg/theo.c
+++ b/usr.bin/mg/theo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: theo.c,v 1.145 2015/03/19 21:22:15 bcallah Exp $ */
+/* $OpenBSD: theo.c,v 1.146 2015/03/19 21:48:05 bcallah Exp $ */
/*
* Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -42,9 +42,9 @@ static PF theo_pf[] = {
theo_analyze
};
-static struct KEYMAPE (1 + IMAPEXT) theomap = {
+static struct KEYMAPE (1) theomap = {
+ 1,
1,
- 1 + IMAPEXT,
rescan,
{
{ CCHR('M'), CCHR('M'), theo_pf, NULL }