Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips/include make ca_name of struct confargs const



details:   https://anonhg.NetBSD.org/src/rev/d55d1f207485
branches:  trunk
changeset: 537976:d55d1f207485
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Oct 09 07:00:56 2002 +0000

description:
make ca_name of struct confargs const

diffstat:

 sys/arch/newsmips/include/autoconf.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ed9b45ee3ead -r d55d1f207485 sys/arch/newsmips/include/autoconf.h
--- a/sys/arch/newsmips/include/autoconf.h      Wed Oct 09 06:27:09 2002 +0000
+++ b/sys/arch/newsmips/include/autoconf.h      Wed Oct 09 07:00:56 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.h,v 1.6 1999/12/17 06:05:40 tsubai Exp $      */
+/*     $NetBSD: autoconf.h,v 1.7 2002/10/09 07:00:56 jdolecek Exp $    */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -32,7 +32,7 @@
  */
 
 struct confargs {
-       char    *ca_name;               /* Device name. */
+       const char      *ca_name;               /* Device name. */
        int     ca_slot;                /* Device slot (table entry). */
        int     ca_offset;              /* Offset into slot. */
        int     ca_addr;                /* Device address. */



Home | Main Index | Thread Index | Old Index