mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
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:
parent
c4a7b7e10c
commit
fce9eaf109
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4141
1 changed files with 7 additions and 7 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Reference in a new issue