+2015-03-16 Pedro Alves <palves@redhat.com>
+ Yuanhui Zhang <asmwarrior@gmail.com>
+
+ * stub-termcap.c (tputs): Change prototype.
+
2015-03-16 Yuanhui Zhang <asmwarrior@gmail.com>
Pedro Alves <palves@redhat.com>
extern int tgetnum (char *name);
extern int tgetflag (char *name);
extern char* tgetstr (char *name, char **area);
-extern int tputs (char *string, int nlines, int (*outfun) ());
+extern int tputs (char *string, int nlines, int (*outfun) (int));
extern char *tgoto (const char *cap, int col, int row);
/* Each of the files below is a minimal implementation of the standard
}
int
-tputs (char *string, int nlines, int (*outfun) ())
+tputs (char *string, int nlines, int (*outfun) (int))
{
while (*string)
outfun (*string++);