X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdots.c;h=22d81713854f0d29b5dab64ea8f518f4f27cc809;hp=2533c7e3b49d237f1385ab10b569d7042692926a;hb=cdbe3d3df7ca08989c4aaead5164309466e519eb;hpb=52aa842907b31bb56fb5133da3f023b45bd4355f diff --git a/test/dots.c b/test/dots.c index 2533c7e3..22d81713 100644 --- a/test/dots.c +++ b/test/dots.c @@ -29,7 +29,7 @@ /* * Author: Thomas E. Dickey 1999 * - * $Id: dots.c,v 1.22 2010/11/14 01:00:02 tom Exp $ + * $Id: dots.c,v 1.23 2011/04/23 19:15:04 tom Exp $ * * A simple demo of the terminfo interface. */ @@ -46,8 +46,8 @@ static bool interrupted = FALSE; static long total_chars = 0; static time_t started; -static int -outc(TPUTS_ARG c) +static +TPUTS_PROTO(outc, c) { int rc = c; @@ -58,7 +58,7 @@ outc(TPUTS_ARG c) } else { rc = putc(c, stdout); } - return rc; + TPUTS_RETURN(rc); } static bool