Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/include Add a const.



details:   https://anonhg.NetBSD.org/src/rev/e91cfbe4c27c
branches:  trunk
changeset: 581628:e91cfbe4c27c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 03 12:11:17 2005 +0000

description:
Add a const.

diffstat:

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

diffs (18 lines):

diff -r 401a8af2a1cc -r e91cfbe4c27c sys/arch/arc/include/autoconf.h
--- a/sys/arch/arc/include/autoconf.h   Fri Jun 03 12:08:50 2005 +0000
+++ b/sys/arch/arc/include/autoconf.h   Fri Jun 03 12:11:17 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.h,v 1.9 2005/01/22 07:35:34 tsutsui Exp $     */
+/*     $NetBSD: autoconf.h,v 1.10 2005/06/03 12:11:17 tsutsui Exp $    */
 /*     $OpenBSD: autoconf.h,v 1.2 1997/03/12 19:16:54 pefo Exp $       */
 /*     NetBSD: autoconf.h,v 1.1 1995/02/13 23:07:31 cgd Exp    */
 
@@ -67,7 +67,7 @@
            (*(ca)->ca_bus->ab_matchname)((ca), (name))
 
 struct confargs {
-       char    *ca_name;               /* Device name. */
+       const char *ca_name;            /* Device name. */
        int     ca_slot;                /* Device slot. */
        int     ca_offset;              /* Offset into slot. */
        struct  abus *ca_bus;           /* bus device resides on. */



Home | Main Index | Thread Index | Old Index