Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/stand/ofwboot Adapt to const-ification of fi...



details:   https://anonhg.NetBSD.org/src/rev/0959700205f3
branches:  trunk
changeset: 550826:0959700205f3
user:      he <he%NetBSD.org@localhost>
date:      Fri Aug 22 08:06:19 2003 +0000

description:
Adapt to const-ification of first arg of open function in fs_ops.

diffstat:

 sys/arch/macppc/stand/ofwboot/hfs.c |  4 ++--
 sys/arch/macppc/stand/ofwboot/hfs.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r f195987a5f5d -r 0959700205f3 sys/arch/macppc/stand/ofwboot/hfs.c
--- a/sys/arch/macppc/stand/ofwboot/hfs.c       Fri Aug 22 07:52:48 2003 +0000
+++ b/sys/arch/macppc/stand/ofwboot/hfs.c       Fri Aug 22 08:06:19 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hfs.c,v 1.2 2001/07/22 11:29:48 wiz Exp $      */
+/*     $NetBSD: hfs.c,v 1.3 2003/08/22 08:06:19 he Exp $       */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -37,7 +37,7 @@
 
 int
 hfs_open(path, f)
-       char *path;
+       const char *path;
        struct open_file *f;
 {
        int chosen;
diff -r f195987a5f5d -r 0959700205f3 sys/arch/macppc/stand/ofwboot/hfs.h
--- a/sys/arch/macppc/stand/ofwboot/hfs.h       Fri Aug 22 07:52:48 2003 +0000
+++ b/sys/arch/macppc/stand/ofwboot/hfs.h       Fri Aug 22 08:06:19 2003 +0000
@@ -1,6 +1,6 @@
-/*     $NetBSD: hfs.h,v 1.1 2000/11/14 11:25:35 tsubai Exp $   */
+/*     $NetBSD: hfs.h,v 1.2 2003/08/22 08:06:19 he Exp $       */
 
-int hfs_open(char *, struct open_file *);
+int hfs_open(const char *, struct open_file *);
 int hfs_close(struct open_file *);
 int hfs_read(struct open_file *, void *, size_t, size_t *);
 int hfs_write(struct open_file *, void *, size_t, size_t *);



Home | Main Index | Thread Index | Old Index