Fix tputs declaration

This commit is contained in:
Andrey A. Chernov 1994-12-09 21:59:06 +00:00
parent aa31b7471d
commit f13e0e1455
3 changed files with 5 additions and 5 deletions

View File

@ -375,11 +375,11 @@ extern int __rawmode;
extern int __noqch;
extern int __usecs;
int tputs __P((const char *, int, void (*)(int)));
int tputs __P((const char *, int, void (*)(char)));
#else
int tputs __P((const char *, int, int (*)(int)));
int tputs __P((const char *, int, int (*)(char)));
#endif

View File

@ -60,7 +60,7 @@
.Ft char *
.Fn tgoto "const char *cm" "int destcol" "int destline"
.Ft int
.Fn tputs "const char *cp" "int affcnt" "int (*outc)(int)"
.Fn tputs "const char *cp" "int affcnt" "int (*outc)(char)"
.Ft char *
.Fn tparm "const char *cp" "..."
.Sh DESCRIPTION

View File

@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
/* $Id$ */
/* $Id: termcap.h,v 1.2 1994/12/04 02:49:24 ache Exp $ */
#ifndef _TERMCAP_H_
#define _TERMCAP_H_
@ -41,7 +41,7 @@ extern int tgetflag __P((const char *));
extern int tgetnum __P((const char *));
extern char *tgetstr __P((const char *, char **));
extern int tputs __P((const char *, int, int (*)(int)));
extern int tputs __P((const char *, int, int (*)(char)));
extern char *tgoto __P((const char *, int, int));
extern char *tparm __P((const char *, ...));