X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fdots_mvcur.c;h=b45ace86bafd37b34d629db184893e633816ecfc;hp=558683d56fdb822d5bf22da94ab549996833b082;hb=1c551ea75ea57f9186fbe8d79674ac85baa4d358;hpb=52aa842907b31bb56fb5133da3f023b45bd4355f diff --git a/test/dots_mvcur.c b/test/dots_mvcur.c index 558683d5..b45ace86 100644 --- a/test/dots_mvcur.c +++ b/test/dots_mvcur.c @@ -29,7 +29,7 @@ /* * Author: Thomas E. Dickey - 2007 * - * $Id: dots_mvcur.c,v 1.6 2010/11/14 01:00:44 tom Exp $ + * $Id: dots_mvcur.c,v 1.7 2011/04/23 19:17:20 tom Exp $ * * A simple demo of the terminfo interface, and mvcur. */ @@ -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; @@ -59,7 +59,7 @@ outc(TPUTS_ARG c) if (putc(c, stdout) == EOF) rc = EOF; } - return rc; + TPUTS_RETURN(rc); } static bool