From: lyndon Date: Thu, 26 Jan 2012 02:15:47 +0000 (-0800) Subject: uip/termsbr.c: remove references to PC and ospeed(). X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;ds=inline;h=3f7e2ed0ca0fa8250dc9a708fa92c43aa4b1c2a6;p=mmh uip/termsbr.c: remove references to PC and ospeed(). These are no longer referenced by the code base now that vmh has been removed. --- diff --git a/uip/termsbr.c b/uip/termsbr.c index 4804776..71782d7 100644 --- a/uip/termsbr.c +++ b/uip/termsbr.c @@ -39,28 +39,6 @@ # define TXTSIZ BUFSIZ #endif -#ifdef notdef_lyndon_posix - -/* - XXX No current termcap should need this. If your compile barfs, - email details to lyndon@orthanc.ca. This code will vanish soon ... -*/ -/* - * These variables are sometimes defined in, - * and needed by the termcap library. - */ -# ifdef HAVE_OSPEED -# ifdef MUST_DEFINE_OSPEED -extern short ospeed; -extern char PC; -# endif -# else -short ospeed; -char PC; -# endif - -#endif /* notdef_lyndon_posix */ - static long speedcode; static int initLI = 0; @@ -117,8 +95,6 @@ read_termcap(void) cp = termcap; CL = tgetstr ("cl", &cp); - if ((bp = tgetstr ("pc", &cp))) - PC = *bp; if (tgetnum ("sg") <= 0) { SE = tgetstr ("se", &cp); SO = tgetstr ("so", &cp);