Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/arch/sparc64/dev Pull up revision 1.15 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/8b61ae272559
branches: netbsd-3
changeset: 576025:8b61ae272559
user: tron <tron%NetBSD.org@localhost>
date: Tue Jun 07 18:01:33 2005 +0000
description:
Pull up revision 1.15 (requested by martin in ticket #376):
- sprinkle const
- avoid variable shadow
diffstat:
sys/arch/sparc64/dev/ffb.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0ca8d966fd14 -r 8b61ae272559 sys/arch/sparc64/dev/ffb.c
--- a/sys/arch/sparc64/dev/ffb.c Tue Jun 07 17:50:26 2005 +0000
+++ b/sys/arch/sparc64/dev/ffb.c Tue Jun 07 18:01:33 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffb.c,v 1.8.10.6 2005/06/07 17:50:26 tron Exp $ */
+/* $NetBSD: ffb.c,v 1.8.10.7 2005/06/07 18:01:33 tron Exp $ */
/* $OpenBSD: creator.c,v 1.20 2002/07/30 19:48:15 jason Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.8.10.6 2005/06/07 17:50:26 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffb.c,v 1.8.10.7 2005/06/07 18:01:33 tron Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -120,7 +120,7 @@
ffb_attach(struct ffb_softc *sc)
{
struct wsemuldisplaydev_attach_args waa;
- char *model;
+ const char *model;
int btype;
int maxrow, maxcol;
u_int blank = WSDISPLAYIO_VIDEO_ON;
Home |
Main Index |
Thread Index |
Old Index