Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/stand/bootst Adapt to const-ification of th...



details:   https://anonhg.NetBSD.org/src/rev/1fd81a875121
branches:  trunk
changeset: 550877:1fd81a875121
user:      he <he%NetBSD.org@localhost>
date:      Sun Aug 24 14:43:29 2003 +0000

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

diffstat:

 sys/arch/mvme68k/stand/bootst/rawfs.c |  4 ++--
 sys/arch/mvme68k/stand/bootst/rawfs.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 2287885bb2be -r 1fd81a875121 sys/arch/mvme68k/stand/bootst/rawfs.c
--- a/sys/arch/mvme68k/stand/bootst/rawfs.c     Sun Aug 24 09:38:53 2003 +0000
+++ b/sys/arch/mvme68k/stand/bootst/rawfs.c     Sun Aug 24 14:43:29 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rawfs.c,v 1.4 2001/11/09 18:27:59 scw Exp $    */
+/*     $NetBSD: rawfs.c,v 1.5 2003/08/24 14:43:29 he Exp $     */
 
 /*
  * Copyright (c) 1995 Gordon W. Ross
@@ -61,7 +61,7 @@
 rawfs_get_block __P((struct open_file *));
 
 int    rawfs_open(path, f)
-       char *path;
+       const char *path;
        struct open_file *f;
 {
        struct file *fs;
diff -r 2287885bb2be -r 1fd81a875121 sys/arch/mvme68k/stand/bootst/rawfs.h
--- a/sys/arch/mvme68k/stand/bootst/rawfs.h     Sun Aug 24 09:38:53 2003 +0000
+++ b/sys/arch/mvme68k/stand/bootst/rawfs.h     Sun Aug 24 14:43:29 2003 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: rawfs.h,v 1.1 1996/05/28 15:24:00 chuck Exp $  */
+/*     $NetBSD: rawfs.h,v 1.2 2003/08/24 14:43:29 he Exp $     */
 
 /*
  * Raw file system - for stream devices like tapes.
  * No random access, only sequential read allowed.
  */
 
-int    rawfs_open __P((char *path, struct open_file *f));
+int    rawfs_open __P((const char *path, struct open_file *f));
 int    rawfs_close __P((struct open_file *f));
 int    rawfs_read __P((struct open_file *f, void *buf,
                u_int size, u_int *resid));



Home | Main Index | Thread Index | Old Index