Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mipsco/include Add const to the prom_getenv() vecto...



details:   https://anonhg.NetBSD.org/src/rev/7d5419f42298
branches:  trunk
changeset: 581895:7d5419f42298
user:      he <he%NetBSD.org@localhost>
date:      Thu Jun 09 13:47:28 2005 +0000

description:
Add const to the prom_getenv() vector argument.
More function pointer prototypes can probably have const added, but
this gets us building for now.

diffstat:

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

diffs (18 lines):

diff -r 67bb592e0a72 -r 7d5419f42298 sys/arch/mipsco/include/prom.h
--- a/sys/arch/mipsco/include/prom.h    Thu Jun 09 13:45:31 2005 +0000
+++ b/sys/arch/mipsco/include/prom.h    Thu Jun 09 13:47:28 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prom.h,v 1.8 2004/02/13 11:36:15 wiz Exp $     */
+/*     $NetBSD: prom.h,v 1.9 2005/06/09 13:47:28 he Exp $      */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -130,7 +130,7 @@
        void    (*prom_setjmp)          __P((void));
        void    (*prom_longjmp)         __P((void));
        void    (*prom_bevutlb)         __P((void));
-       char *  (*prom_getenv)          __P((char *name));
+       char *  (*prom_getenv)          __P((const char *name));
        int     (*prom_setenv)          __P((char *name, char *val));
        int     (*prom_atob)            __P((char *s));
        int     (*prom_strcmp)          __P((char *s1, char *s2));



Home | Main Index | Thread Index | Old Index