Add const to termcap prototypes to help libg++ 2.6.1 compiling,

this change must not affect other curses pgms
This commit is contained in:
Andrey A. Chernov 1994-11-04 15:14:03 +00:00
parent c4a7b7e10c
commit fce9eaf109
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4141

View file

@ -375,19 +375,19 @@ extern int __rawmode;
extern int __noqch;
extern int __usecs;
int tputs __P((char *, int, void (*)(int)));
int tputs __P((const char *, int, void (*)(int)));
#else
int tputs __P((char *, int, int (*)(int)));
int tputs __P((const char *, int, int (*)(int)));
#endif
/* Termcap functions. */
int tgetent __P((char *, char *));
int tgetnum __P((char *));
int tgetflag __P((char *));
char *tgetstr __P((char *, char **));
char *tgoto __P((char *, int, int));
int tgetent __P((char *, const char *));
int tgetnum __P((const char *));
int tgetflag __P((const char *));
char *tgetstr __P((const char *, char **));
char *tgoto __P((const char *, int, int));
#endif /* !_CURSES_H_ */