From: Thomas Cort Date: Sun, 22 Mar 2015 20:14:51 +0000 (-0400) Subject: mined1.c: remove i386 guard around escape sequences. X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F2973%2F3;p=minix.git mined1.c: remove i386 guard around escape sequences. The escape sequences for the function keys used to be separated out in older versions of Minix when they were different for m68k and intel. Support for m68k was dropped and that code was removed, leaving the ifdef i386. Since the sequences are the same for i386 and arm, there is no need to keep the ifdef i386. Change-Id: Id96a80bcb24da120efa63acc9b248d87fc347eac --- diff --git a/minix/commands/mined/mined1.c b/minix/commands/mined/mined1.c index 092a79199..8bb881dee 100644 --- a/minix/commands/mined/mined1.c +++ b/minix/commands/mined/mined1.c @@ -1502,7 +1502,6 @@ void (*escfunc(int c))(void) case 'B': return(DN); case 'C': return(RT); case 'D': return(LF); -#if defined(__i386__) case '@': return(MA); case 'G': return(FS); case 'S': return(SR); @@ -1510,7 +1509,6 @@ void (*escfunc(int c))(void) case 'U': return(PD); case 'V': return(PU); case 'Y': return(EF); -#endif } return(I); }