From f90bcf3a23dec41fc4bbe6ca8ef9db1b4e71cdc2 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 29 May 2005 21:56:35 +0000 Subject: - sprinkle const. - avoid variable shadowing. --- sys/dev/wscons/wsdisplayvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/wscons/wsdisplayvar.h') 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; -- cgit