From a0b72ae951177e0262dbe9266582edbd83c9684e Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Tue, 1 Nov 2011 09:10:19 +0100 Subject: [PATCH] Removed outc(), which only called putchar(), while having the same signature. I substituted all outc() calls with calls to putchar(). --- uip/termsbr.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/uip/termsbr.c b/uip/termsbr.c index bb8a607..3c45eb2 100644 --- a/uip/termsbr.c +++ b/uip/termsbr.c @@ -175,20 +175,13 @@ sc_length(void) } -static int -outc(int c) -{ - return putchar(c); -} - - void clear_screen(void) { read_termcap(); if (CL && speedcode) - tputs(CL, LI, outc); + tputs(CL, LI, putchar); else { printf("\f"); if (speedcode) @@ -211,13 +204,13 @@ SOprintf(char *fmt, ...) if (!(SO && SE)) return NOTOK; - tputs(SO, 1, outc); + tputs(SO, 1, putchar); va_start(ap, fmt); vprintf(fmt, ap); va_end(ap); - tputs(SE, 1, outc); + tputs(SE, 1, putchar); return OK; } -- 1.7.10.4