Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/dev Add a const.



details:   https://anonhg.NetBSD.org/src/rev/3ab77938518e
branches:  trunk
changeset: 581618:3ab77938518e
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 03 11:38:56 2005 +0000

description:
Add a const.

diffstat:

 sys/arch/hp300/dev/grfvar.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 71cec6323b27 -r 3ab77938518e sys/arch/hp300/dev/grfvar.h
--- a/sys/arch/hp300/dev/grfvar.h       Fri Jun 03 11:31:57 2005 +0000
+++ b/sys/arch/hp300/dev/grfvar.h       Fri Jun 03 11:38:56 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grfvar.h,v 1.18 2004/08/28 17:37:01 thorpej Exp $      */
+/*     $NetBSD: grfvar.h,v 1.19 2005/06/03 11:38:56 tsutsui Exp $      */
 
 /*
  * Copyright (c) 1990, 1993
@@ -103,7 +103,7 @@
 struct grfsw {
        int     gd_hwid;        /* id returned by hardware */
        int     gd_swid;        /* id to be returned by software */
-       char    *gd_desc;       /* description printed at config time */
+       const char *gd_desc;    /* description printed at config time */
                                /* boot time init routine */
        int     (*gd_init)(struct grf_data *, int, caddr_t);
                                /* misc function routine */



Home | Main Index | Thread Index | Old Index