summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-04 15:14:03 +0000
committerache <ache@FreeBSD.org>1994-11-04 15:14:03 +0000
commit2c9c58ec9dd2cff0a098f4bf8efa86b6ab97771c (patch)
tree076a5d922db84babd21ab1a98e192c20b01e310c
parente5d78dd23f38812b91b0e636e5fbec4cc35d46a1 (diff)
downloadFreeBSD-src-2c9c58ec9dd2cff0a098f4bf8efa86b6ab97771c.zip
FreeBSD-src-2c9c58ec9dd2cff0a098f4bf8efa86b6ab97771c.tar.gz
Add const to termcap prototypes to help libg++ 2.6.1 compiling,
this change must not affect other curses pgms
-rw-r--r--lib/libcurses/curses.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcurses/curses.h b/lib/libcurses/curses.h
index 1e7a8b8..8b699fa 100644
--- a/lib/libcurses/curses.h
+++ b/lib/libcurses/curses.h
@@ -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_ */
OpenPOWER on IntegriCloud