Module Name: src Committed By: nonaka Date: Mon Jun 13 15:24:21 UTC 2011
Modified Files: src/share/man/man9: wsfont.9 Log Message: Removed non-existent wsfont_getflg() functions. Const'fy name in struct wsdisplay_font. Fixed some typo. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/share/man/man9/wsfont.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/wsfont.9 diff -u src/share/man/man9/wsfont.9:1.15 src/share/man/man9/wsfont.9:1.16 --- src/share/man/man9/wsfont.9:1.15 Thu Dec 2 12:54:13 2010 +++ src/share/man/man9/wsfont.9 Mon Jun 13 15:24:21 2011 @@ -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;