From 5a4836db0e18fe3fa32ba5d3deff2010d8a1b418 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Tue, 27 Mar 2012 10:58:05 +0200 Subject: [PATCH] uip/termsbr.c: remove references to PC. Pulled in from nmh. Thanks to Lyndon Nerenberg. --- uip/termsbr.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/uip/termsbr.c b/uip/termsbr.c index e1ea5f8..fbf5f16 100644 --- a/uip/termsbr.c +++ b/uip/termsbr.c @@ -39,13 +39,10 @@ static int initCO = 0; static int CO = 80; /* number of colums */ -static char termcap[TXTSIZ]; - static void read_termcap(void) { - char *bp, *cp; char *term; #ifndef TGETENT_ACCEPTS_NULL @@ -76,10 +73,6 @@ read_termcap(void) if (!initCO && (CO = tgetnum("co")) <= 0) CO = 80; - - cp = termcap; - if ((bp = tgetstr("pc", &cp))) - PC = *bp; } -- 1.7.10.4