Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/nubus Add const.



details:   https://anonhg.NetBSD.org/src/rev/a5b1452197b4
branches:  trunk
changeset: 581709:a5b1452197b4
user:      rjs <rjs%NetBSD.org@localhost>
date:      Fri Jun 03 23:07:20 2005 +0000

description:
Add const.

diffstat:

 sys/arch/mac68k/nubus/if_sm_nubus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2c39f729e576 -r a5b1452197b4 sys/arch/mac68k/nubus/if_sm_nubus.c
--- a/sys/arch/mac68k/nubus/if_sm_nubus.c       Fri Jun 03 23:05:46 2005 +0000
+++ b/sys/arch/mac68k/nubus/if_sm_nubus.c       Fri Jun 03 23:07:20 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sm_nubus.c,v 1.6 2005/01/15 16:00:59 chs Exp $      */
+/*     $NetBSD: if_sm_nubus.c,v 1.7 2005/06/03 23:07:20 rjs Exp $      */
 
 /*
  * Copyright (c) 2000 Allen Briggs.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sm_nubus.c,v 1.6 2005/01/15 16:00:59 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sm_nubus.c,v 1.7 2005/06/03 23:07:20 rjs Exp $");
 
 #include "opt_inet.h"
 
@@ -104,7 +104,7 @@
        bus_space_handle_t bsh, prom_bsh;
        u_int8_t myaddr[ETHER_ADDR_LEN];
        int i, success;
-       char *cardtype;
+       const char *cardtype;
 
        bst = na->na_tag;
        if (bus_space_map(bst, NUBUS_SLOT2PA(na->slot), NBMEMSIZE, 0, &bsh)) {



Home | Main Index | Thread Index | Old Index