Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Removed non-existent wsfont_getflg() functions.



details:   https://anonhg.NetBSD.org/src/rev/22b188ef2d67
branches:  trunk
changeset: 766019:22b188ef2d67
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Mon Jun 13 15:24:21 2011 +0000

description:
Removed non-existent wsfont_getflg() functions.
Const'fy name in struct wsdisplay_font.
Fixed some typo.

diffstat:

 share/man/man9/wsfont.9 |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r 00c230b11312 -r 22b188ef2d67 share/man/man9/wsfont.9
--- a/share/man/man9/wsfont.9   Mon Jun 13 14:20:37 2011 +0000
+++ b/share/man/man9/wsfont.9   Mon Jun 13 15:24:21 2011 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: wsfont.9,v 1.15 2010/12/02 12:54:13 wiz Exp $
+.\"     $NetBSD: wsfont.9,v 1.16 2011/06/13 15:24:21 nonaka Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -40,7 +40,6 @@
 .Nm wsfont_enum ,
 .Nm wsfont_lock ,
 .Nm wsfont_unlock ,
-.Nm wsfont_getflg ,
 .Nm wsfont_map_unichar
 .Nd wscons font support
 .Sh SYNOPSIS
@@ -65,8 +64,6 @@
 .Ft int
 .Fn wsfont_unlock "int cookie"
 .Ft int
-.Fn wsfont_getflg "int cookie" "int *flg" "int *lc"
-.Ft int
 .Fn wsfont_map_unichar "struct wsdisplay_font *font" "int c"
 .Sh DESCRIPTION
 The
@@ -86,12 +83,12 @@
 .Pa dev/wscons/wsconsio.h :
 .Bd -literal
 struct wsdisplay_font {
-       char *name;             /* font name */
+       const char *name;       /* font name */
        int firstchar;
        int numchars;           /* size of font table */
-       int encoding;           /* font encoding
+       int encoding;           /* font encoding */
        u_int fontwidth;        /* character width */
-       u_int fontheight;       /* character width */
+       u_int fontheight;       /* character height */
        u_int stride;
        int bitorder;
        int byteorder;



Home | Main Index | Thread Index | Old Index