X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Ftermsbr.c;h=421c367014983a22ec17d039fa5a52807d30ca84;hp=77af4680fadf1c85143e1c615419780ff82a644a;hb=d2da15ecabb03fb2de72863abdf5f21e52fdf329;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/termsbr.c b/uip/termsbr.c index 77af468..421c367 100644 --- a/uip/termsbr.c +++ b/uip/termsbr.c @@ -3,6 +3,10 @@ * termsbr.c -- termcap support * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include @@ -21,9 +25,14 @@ # include #endif +/* is need anyway for ioctl() #ifdef GWINSZ_IN_SYS_IOCTL +*/ # include +/* #endif +*/ + #ifdef WINSIZE_IN_PTEM # include # include @@ -170,7 +179,7 @@ sc_length (void) static int outc (int c) { - putchar(c); + return putchar(c); }