Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/m68k Fix const fallout when DEBUG is defined.



details:   https://anonhg.NetBSD.org/src/rev/48b079b99e02
branches:  trunk
changeset: 581607:48b079b99e02
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jun 03 08:55:33 2005 +0000

description:
Fix const fallout when DEBUG is defined.

diffstat:

 sys/arch/m68k/m68k/pmap_motorola.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 2a821e50ce5a -r 48b079b99e02 sys/arch/m68k/m68k/pmap_motorola.c
--- a/sys/arch/m68k/m68k/pmap_motorola.c        Fri Jun 03 08:54:03 2005 +0000
+++ b/sys/arch/m68k/m68k/pmap_motorola.c        Fri Jun 03 08:55:33 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_motorola.c,v 1.16 2005/06/02 16:47:42 tsutsui Exp $        */
+/*     $NetBSD: pmap_motorola.c,v 1.17 2005/06/03 08:55:33 scw Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.16 2005/06/02 16:47:42 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.17 2005/06/03 08:55:33 scw Exp $");
 
 #include "opt_compat_hpux.h"
 
@@ -318,7 +318,7 @@
 
 #ifdef DEBUG
 void pmap_pvdump       __P((paddr_t));
-void pmap_check_wiring __P((char *, vaddr_t));
+void pmap_check_wiring __P((const char *, vaddr_t));
 #endif
 
 /* pmap_remove_mapping flags */
@@ -2987,7 +2987,7 @@
  */
 void
 pmap_check_wiring(str, va)
-       char *str;
+       const char *str;
        vaddr_t va;
 {
        pt_entry_t *pte;



Home | Main Index | Thread Index | Old Index