summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBrian Callahan <bcallah@cvs.openbsd.org>2015-03-25 12:29:04 +0000
committerBrian Callahan <bcallah@cvs.openbsd.org>2015-03-25 12:29:04 +0000
commit02dd05f7efbff495fcaf2ee6495e0393451f9db9 (patch)
tree7a2edca2267547216878ad0e85f25a87a0783a1c /usr.bin
parent40bc13f13e990aca5c7d8bdcda1d746a490cc7ba (diff)
Remove unused METACH #define.
No one is defining their own METABIT so remove the #ifndef around it. ok florian@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/chrdef.h6
-rw-r--r--usr.bin/mg/kbd.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/mg/chrdef.h b/usr.bin/mg/chrdef.h
index ce9dc316e7e..9cbf3f92b9f 100644
--- a/usr.bin/mg/chrdef.h
+++ b/usr.bin/mg/chrdef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: chrdef.h,v 1.9 2015/03/19 21:22:15 bcallah Exp $ */
+/* $OpenBSD: chrdef.h,v 1.10 2015/03/25 12:29:03 bcallah Exp $ */
/* This file is in the public domain. */
@@ -40,10 +40,6 @@
*/
#define CCHR(x) ((x) ^ 0x40) /* CCHR('?') == DEL */
-#ifndef METACH
-#define METACH CCHR('[')
-#endif
-
#define K00 256
#define K01 257
#define K02 258
diff --git a/usr.bin/mg/kbd.c b/usr.bin/mg/kbd.c
index 82026696db6..009a6a57c22 100644
--- a/usr.bin/mg/kbd.c
+++ b/usr.bin/mg/kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd.c,v 1.27 2015/03/19 21:22:15 bcallah Exp $ */
+/* $OpenBSD: kbd.c,v 1.28 2015/03/25 12:29:03 bcallah Exp $ */
/* This file is in the public domain. */
@@ -15,9 +15,7 @@
#include "key.h"
#include "macro.h"
-#ifndef METABIT
#define METABIT 0x80
-#endif /* !METABIT */
#ifndef NO_DPROMPT
#define PROMPTL 80