Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/ofwboot Adapt to constification



details:   https://anonhg.NetBSD.org/src/rev/49e55c10ee24
branches:  trunk
changeset: 581372:49e55c10ee24
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jun 01 03:51:58 2005 +0000

description:
Adapt to constification

diffstat:

 sys/arch/sparc/stand/ofwboot/Locore.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 937291f0091f -r 49e55c10ee24 sys/arch/sparc/stand/ofwboot/Locore.c
--- a/sys/arch/sparc/stand/ofwboot/Locore.c     Wed Jun 01 03:22:56 2005 +0000
+++ b/sys/arch/sparc/stand/ofwboot/Locore.c     Wed Jun 01 03:51:58 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: Locore.c,v 1.4 2005/01/16 23:26:19 chs Exp $   */
+/*     $NetBSD: Locore.c,v 1.5 2005/06/01 03:51:58 martin Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -82,7 +82,7 @@
 
 int
 OF_finddevice(name)
-       char *name;
+       const char *name;
 {
        struct {
                cell_t name;
@@ -125,7 +125,7 @@
 int
 OF_getprop(handle, prop, buf, buflen)
        int handle;
-       char *prop;
+       const char *prop;
        void *buf;
        int buflen;
 {
@@ -186,7 +186,7 @@
 
 int
 OF_open(dname)
-       char *dname;
+       const char *dname;
 {
        struct {
                cell_t name;
@@ -227,7 +227,7 @@
 int
 OF_write(handle, addr, len)
        int handle;
-       void *addr;
+       const void *addr;
        int len;
 {
        struct {



Home | Main Index | Thread Index | Old Index