Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mac68k Add const.
details: https://anonhg.NetBSD.org/src/rev/00e22ae9fed0
branches: trunk
changeset: 581611:00e22ae9fed0
user: rjs <rjs%NetBSD.org@localhost>
date: Fri Jun 03 11:14:20 2005 +0000
description:
Add const.
diffstat:
sys/arch/mac68k/include/cpu.h | 6 +++---
sys/arch/mac68k/mac68k/macrom.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r 877e269451b5 -r 00e22ae9fed0 sys/arch/mac68k/include/cpu.h
--- a/sys/arch/mac68k/include/cpu.h Fri Jun 03 11:02:59 2005 +0000
+++ b/sys/arch/mac68k/include/cpu.h Fri Jun 03 11:14:20 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.77 2005/01/15 16:00:59 chs Exp $ */
+/* $NetBSD: cpu.h,v 1.78 2005/06/03 11:14:20 rjs Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -306,8 +306,8 @@
/* What kind of model is this */
struct cpu_model_info {
int machineid; /* MacOS Gestalt value. */
- char *model_major; /* Make this distinction to save a few */
- char *model_minor; /* bytes--might be useful, too. */
+ const char *model_major; /* Make this distinction to save a few */
+ const char *model_minor; /* bytes--might be useful, too. */
int class; /* Rough class of machine. */
/* forwarded romvec_s is defined in mac68k/macrom.h */
struct romvec_s *rom_vectors; /* Pointer to our known rom vectors */
diff -r 877e269451b5 -r 00e22ae9fed0 sys/arch/mac68k/mac68k/macrom.h
--- a/sys/arch/mac68k/mac68k/macrom.h Fri Jun 03 11:02:59 2005 +0000
+++ b/sys/arch/mac68k/mac68k/macrom.h Fri Jun 03 11:14:20 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: macrom.h,v 1.14 2005/01/15 16:00:59 chs Exp $ */
+/* $NetBSD: macrom.h,v 1.15 2005/06/03 11:14:53 rjs Exp $ */
/*-
* Copyright (C) 1994 Bradley A. Grantham
@@ -165,7 +165,7 @@
} rsrc_t;
typedef struct romvec_s {
- char *romident; /* just to print it out */
+ const char *romident; /* just to print it out */
caddr_t adbintr; /* where is ADB interrupt */
caddr_t pmintr; /* where is ADB/PM interrupt, on machines */
/* that have it */
Home |
Main Index |
Thread Index |
Old Index