Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libterm fix prototype for t_freent, and sprinkle const w...



details:   https://anonhg.NetBSD.org/src/rev/b38d5fe1e101
branches:  trunk
changeset: 535448:b38d5fe1e101
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Aug 19 10:11:42 2002 +0000

description:
fix prototype for t_freent, and sprinkle const where necessary

diffstat:

 lib/libterm/termcap.3 |  30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diffs (59 lines):

diff -r a93f3bd96c61 -r b38d5fe1e101 lib/libterm/termcap.3
--- a/lib/libterm/termcap.3     Mon Aug 19 09:56:00 2002 +0000
+++ b/lib/libterm/termcap.3     Mon Aug 19 10:11:42 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: termcap.3,v 1.25 2002/02/20 11:35:21 wiz Exp $
+.\"    $NetBSD: termcap.3,v 1.26 2002/08/19 10:11:42 pooka Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -54,35 +54,35 @@
 .Vt short ospeed;
 .Vt struct tinfo *info;
 .Ft int
-.Fn tgetent "char *bp" "char *name"
+.Fn tgetent "char *bp" "const char *name"
 .Ft int
-.Fn tgetnum "char *id"
+.Fn tgetnum "const char *id"
 .Ft int
-.Fn tgetflag "char *id"
+.Fn tgetflag "const char *id"
 .Ft char *
-.Fn tgetstr "char *id" "char **area"
+.Fn tgetstr "const char *id" "char **area"
 .Ft char *
-.Fn tgoto "char *cm" "int destcol" "int destline"
+.Fn tgoto "const char *cm" "int destcol" "int destline"
 .Ft void
-.Fn tputs "char *cp" "int affcnt" "int (*outc)(int)"
+.Fn tputs "const char *cp" "int affcnt" "int (*outc)(int)"
 .Ft int
-.Fn t_getent "struct tinfo **info" "char *name"
+.Fn t_getent "struct tinfo **info" "const char *name"
 .Ft int
-.Fn t_getnum "struct tinfo *info" "char *id"
+.Fn t_getnum "struct tinfo *info" "const char *id"
 .Ft int
-.Fn t_getflag "struct tinfo *info" "char *id"
+.Fn t_getflag "struct tinfo *info" "const char *id"
 .Ft char *
-.Fn t_getstr "struct tinfo *info" "char *id" "char **area" "size_t *limit"
+.Fn t_getstr "struct tinfo *info" "const char *id" "char **area" "size_t *limit"
 .Ft char *
-.Fn t_agetstr "struct tinfo *info" "char *id"
+.Fn t_agetstr "struct tinfo *info" "const char *id"
 .Ft int
 .Fn t_getterm "struct tinfo *info" "char **area" "size_t *limit"
 .Ft int
-.Fn t_goto "struct tinfo *info" "char *id" "int destcol" "int destline" "char *buffer" "size_t limit"
+.Fn t_goto "struct tinfo *info" "const char *id" "int destcol" "int destline" "char *buffer" "size_t limit"
 .Ft int
-.Fn t_puts "struct tinfo *info" "char *cp" "int affcnt" "void (*outc)(char, void *)" "void *args"
+.Fn t_puts "struct tinfo *info" "const char *cp" "int affcnt" "void (*outc)(char, void *)" "void *args"
 .Ft void
-.Fn t_freent "char *info"
+.Fn t_freent "struct tinfo *info"
 .Ft int
 .Fn t_setinfo "struct tinfo **info" "const char *entry"
 .Sh DESCRIPTION



Home | Main Index | Thread Index | Old Index