Source-Changes-HG archive

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

[src/trunk]: src/sys/dev add "const" where needed



details:   https://anonhg.NetBSD.org/src/rev/75d6aa756460
branches:  trunk
changeset: 581448:75d6aa756460
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jun 01 18:18:52 2005 +0000

description:
add "const" where needed

diffstat:

 sys/dev/ic/ramdac.h  |  4 ++--
 sys/dev/pci/tgavar.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 8f2ae26b4d47 -r 75d6aa756460 sys/dev/ic/ramdac.h
--- a/sys/dev/ic/ramdac.h       Wed Jun 01 18:07:04 2005 +0000
+++ b/sys/dev/ic/ramdac.h       Wed Jun 01 18:18:52 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ramdac.h,v 1.5 2005/02/27 00:27:02 perry Exp $ */
+/* $NetBSD: ramdac.h,v 1.6 2005/06/01 18:18:52 drochner Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
 struct ramdac_cookie;
 
 struct ramdac_funcs {
-       char    *ramdac_name;
+       const char      *ramdac_name;
        struct ramdac_cookie *(*ramdac_register)(void *,
                    int (*)(void *, void (*)(void *)),
                    void (*)(void *, u_int, u_int8_t),
diff -r 8f2ae26b4d47 -r 75d6aa756460 sys/dev/pci/tgavar.h
--- a/sys/dev/pci/tgavar.h      Wed Jun 01 18:07:04 2005 +0000
+++ b/sys/dev/pci/tgavar.h      Wed Jun 01 18:18:52 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tgavar.h,v 1.14 2005/02/27 00:27:34 perry Exp $ */
+/* $NetBSD: tgavar.h,v 1.15 2005/06/01 18:18:52 drochner Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -40,7 +40,7 @@
 struct fbcurpos;
 
 struct tga_conf {
-       char        *tgac_name;         /* name for this board type */
+       const char          *tgac_name;         /* name for this board type */
 
        struct ramdac_funcs *(*ramdac_funcs)(void);
 



Home | Main Index | Thread Index | Old Index