From ac6bdf61a42424bcc239409facd496a7d07aa6fd Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 10 Jun 2009 19:34:18 +0000 Subject: [PATCH] get rid of a redefinition warning --- edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edit.c b/edit.c index 6b9066a..5c13671 100644 --- a/edit.c +++ b/edit.c @@ -25,7 +25,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.169 2009/06/10 19:33:16 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.170 2009/06/10 19:34:18 tg Exp $"); /* tty driver characters we are interested in */ typedef struct { @@ -964,6 +964,7 @@ utf_wctomb(char *dst, unsigned int wc) static Area aedit; #define AEDIT &aedit /* area for kill ring and macro defns */ +#undef CTRL #define CTRL(x) ((x) == '?' ? 0x7F : (x) & 0x1F) /* ASCII */ #define UNCTRL(x) ((x) ^ 0x40) /* ASCII */