From 3f7e2ed0ca0fa8250dc9a708fa92c43aa4b1c2a6 Mon Sep 17 00:00:00 2001 From: lyndon Date: Wed, 25 Jan 2012 18:15:47 -0800 Subject: [PATCH] uip/termsbr.c: remove references to PC and ospeed(). These are no longer referenced by the code base now that vmh has been removed. --- uip/termsbr.c | 24 ------------------------ 1 file changed, 24 deletions(-) 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); -- 1.7.10.4