summaryrefslogtreecommitdiffstats
path: root/lib/libmytinfo
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-12-09 21:52:47 +0000
committerache <ache@FreeBSD.org>1994-12-09 21:52:47 +0000
commita14aba2fc2b1dd2b5a6107e0d4bbcf62c13b31fe (patch)
tree5454ef691f0347827bde89a0f06011c0ca54740e /lib/libmytinfo
parent9f6331b10ea2c0c4a51779a53dd0f48b4f3a4a0b (diff)
downloadFreeBSD-src-a14aba2fc2b1dd2b5a6107e0d4bbcf62c13b31fe.zip
FreeBSD-src-a14aba2fc2b1dd2b5a6107e0d4bbcf62c13b31fe.tar.gz
Fix tputs/tparm declarations
Diffstat (limited to 'lib/libmytinfo')
-rw-r--r--lib/libmytinfo/term.h4
-rw-r--r--lib/libmytinfo/term.tail4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libmytinfo/term.h b/lib/libmytinfo/term.h
index a7b2704..9911a98 100644
--- a/lib/libmytinfo/term.h
+++ b/lib/libmytinfo/term.h
@@ -636,9 +636,9 @@ extern TERMINAL _term_buf;
#endif
#endif
-extern char *tparm __P((char *, ...));
+extern char *tparm __P((const char *, ...));
extern int setupterm __P((char *, int, int *)), set_curterm __P((TERMINAL *));
-extern int del_curterm __P((TERMINAL *)), tputs __P((char *, int, int (*)(char)));
+extern int del_curterm __P((TERMINAL *)), tputs __P((const char *, int, int (*)(char)));
extern int putp __P((char *));
extern int tigetflag __P((char *)), tigetnum __P((char *));
extern char *tigetstr __P((char *));
diff --git a/lib/libmytinfo/term.tail b/lib/libmytinfo/term.tail
index 6036557..6ef3af6 100644
--- a/lib/libmytinfo/term.tail
+++ b/lib/libmytinfo/term.tail
@@ -109,9 +109,9 @@ extern TERMINAL _term_buf;
#endif
#endif
-extern char *tparm __P((char *, ...));
+extern char *tparm __P((const char *, ...));
extern int setupterm __P((char *, int, int *)), set_curterm __P((TERMINAL *));
-extern int del_curterm __P((TERMINAL *)), tputs __P((char *, int, int (*)(char)));
+extern int del_curterm __P((TERMINAL *)), tputs __P((const char *, int, int (*)(char)));
extern int putp __P((char *));
extern int tigetflag __P((char *)), tigetnum __P((char *));
extern char *tigetstr __P((char *));
OpenPOWER on IntegriCloud