From 02dd05f7efbff495fcaf2ee6495e0393451f9db9 Mon Sep 17 00:00:00 2001 From: Brian Callahan Date: Wed, 25 Mar 2015 12:29:04 +0000 Subject: Remove unused METACH #define. No one is defining their own METABIT so remove the #ifndef around it. ok florian@ --- usr.bin/mg/chrdef.h | 6 +----- usr.bin/mg/kbd.c | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'usr.bin') 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 -- cgit v1.2.3