summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsdisplayvar.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-05-29 21:56:35 +0000
committerchristos <christos@NetBSD.org>2005-05-29 21:56:35 +0000
commitf90bcf3a23dec41fc4bbe6ca8ef9db1b4e71cdc2 (patch)
treeb8be5dd4ad68935e16e3369547d5c6f313911165 /sys/dev/wscons/wsdisplayvar.h
parentc107ef9edcaf669743f05d8c3e004b1dbde3a33d (diff)
- sprinkle const.
- avoid variable shadowing.
Diffstat (limited to 'sys/dev/wscons/wsdisplayvar.h')
-rw-r--r--sys/dev/wscons/wsdisplayvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsdisplayvar.h b/sys/dev/wscons/wsdisplayvar.h
index 0fefbb58051..8445017aaa5 100644
--- a/sys/dev/wscons/wsdisplayvar.h
+++ b/sys/dev/wscons/wsdisplayvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wsdisplayvar.h,v 1.32 2005/05/23 09:44:57 martin Exp $ */
+/* $NetBSD: wsdisplayvar.h,v 1.33 2005/05/29 21:56:35 christos Exp $ */
/*
* Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved.
@@ -85,7 +85,7 @@ struct wsdisplay_emulops {
};
struct wsscreen_descr {
- char *name;
+ const char *name;
int ncols, nrows;
const struct wsdisplay_emulops *textops;
int fontwidth, fontheight;