Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/dreamcast Fix const fallout.
details: https://anonhg.NetBSD.org/src/rev/e33ddd129915
branches: trunk
changeset: 581580:e33ddd129915
user: he <he%NetBSD.org@localhost>
date: Thu Jun 02 18:06:10 2005 +0000
description:
Fix const fallout.
diffstat:
sys/arch/dreamcast/dev/g2/aica.c | 6 +++---
sys/arch/dreamcast/include/autoconf.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r 0df1793fdf10 -r e33ddd129915 sys/arch/dreamcast/dev/g2/aica.c
--- a/sys/arch/dreamcast/dev/g2/aica.c Thu Jun 02 17:45:59 2005 +0000
+++ b/sys/arch/dreamcast/dev/g2/aica.c Thu Jun 02 18:06:10 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aica.c,v 1.8 2005/02/19 15:37:34 tsutsui Exp $ */
+/* $NetBSD: aica.c,v 1.9 2005/06/02 18:06:10 he Exp $ */
/*
* Copyright (c) 2003 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.8 2005/02/19 15:37:34 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.9 2005/06/02 18:06:10 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -83,7 +83,7 @@
};
const struct {
- char *name;
+ const char *name;
int encoding;
int precision;
} aica_encodings[] = {
diff -r 0df1793fdf10 -r e33ddd129915 sys/arch/dreamcast/include/autoconf.h
--- a/sys/arch/dreamcast/include/autoconf.h Thu Jun 02 17:45:59 2005 +0000
+++ b/sys/arch/dreamcast/include/autoconf.h Thu Jun 02 18:06:10 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.h,v 1.1 2002/03/24 18:28:12 uch Exp $ */
+/* $NetBSD: autoconf.h,v 1.2 2005/06/02 18:06:10 he Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -34,5 +34,5 @@
*/
struct mainbus_attach_args {
- char *ma_name;
+ const char *ma_name;
};
Home |
Main Index |
Thread Index |
Old Index