Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/rasops Rename rasops_alloc_cattr and rasops_alloc_ma...
details: https://anonhg.NetBSD.org/src/rev/345d7d9aff94
branches: trunk
changeset: 533583:345d7d9aff94
user: junyoung <junyoung%NetBSD.org@localhost>
date: Thu Jul 04 17:15:28 2002 +0000
description:
Rename rasops_alloc_cattr and rasops_alloc_mattr to
rasops_allocattr_color and rasops_allocattr_mono, respectively.
diffstat:
sys/dev/rasops/rasops.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (60 lines):
diff -r 05c4dd7525ca -r 345d7d9aff94 sys/dev/rasops/rasops.c
--- a/sys/dev/rasops/rasops.c Thu Jul 04 16:48:44 2002 +0000
+++ b/sys/dev/rasops/rasops.c Thu Jul 04 17:15:28 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rasops.c,v 1.40 2002/07/04 14:37:12 junyoung Exp $ */
+/* $NetBSD: rasops.c,v 1.41 2002/07/04 17:15:28 junyoung Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.40 2002/07/04 14:37:12 junyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rasops.c,v 1.41 2002/07/04 17:15:28 junyoung Exp $");
#include "opt_rasops.h"
#include "rasops_glue.h"
@@ -107,8 +107,8 @@
static void rasops_copyrows __P((void *, int, int, int));
static int rasops_mapchar __P((void *, int, u_int *));
static void rasops_cursor __P((void *, int, int, int));
-static int rasops_alloc_cattr __P((void *, int, int, int, long *));
-static int rasops_alloc_mattr __P((void *, int, int, int, long *));
+static int rasops_allocattr_color __P((void *, int, int, int, long *));
+static int rasops_allocattr_mono __P((void *, int, int, int, long *));
static void rasops_do_cursor __P((struct rasops_info *));
static void rasops_init_devcmap __P((struct rasops_info *));
@@ -260,10 +260,10 @@
ri->ri_do_cursor = rasops_do_cursor;
if (ri->ri_depth < 8 || (ri->ri_flg & RI_FORCEMONO) != 0) {
- ri->ri_ops.allocattr = rasops_alloc_mattr;
+ ri->ri_ops.allocattr = rasops_allocattr_mono;
ri->ri_caps = WSSCREEN_UNDERLINE | WSSCREEN_REVERSE;
} else {
- ri->ri_ops.allocattr = rasops_alloc_cattr;
+ ri->ri_ops.allocattr = rasops_allocattr_color;
ri->ri_caps = WSSCREEN_UNDERLINE | WSSCREEN_HILIT |
WSSCREEN_WSCOLORS | WSSCREEN_REVERSE;
}
@@ -360,7 +360,7 @@
* Allocate a color attribute.
*/
static int
-rasops_alloc_cattr(cookie, fg, bg, flg, attr)
+rasops_allocattr_color(cookie, fg, bg, flg, attr)
void *cookie;
int fg, bg, flg;
long *attr;
@@ -404,7 +404,7 @@
* Allocate a mono attribute.
*/
static int
-rasops_alloc_mattr(cookie, fg, bg, flg, attr)
+rasops_allocattr_mono(cookie, fg, bg, flg, attr)
void *cookie;
int fg, bg, flg;
long *attr;
Home |
Main Index |
Thread Index |
Old Index