Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun68k/stand/tapeboot Adapt to const'ing of the fir...



details:   https://anonhg.NetBSD.org/src/rev/67810de250db
branches:  trunk
changeset: 550792:67810de250db
user:      he <he%NetBSD.org@localhost>
date:      Thu Aug 21 22:34:48 2003 +0000

description:
Adapt to const'ing of the first argument of the open function in fs_ops.

diffstat:

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

diffs (35 lines):

diff -r 66529bda503c -r 67810de250db sys/arch/sun68k/stand/tapeboot/rawfs.c
--- a/sys/arch/sun68k/stand/tapeboot/rawfs.c    Thu Aug 21 20:00:15 2003 +0000
+++ b/sys/arch/sun68k/stand/tapeboot/rawfs.c    Thu Aug 21 22:34:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rawfs.c,v 1.2 2003/08/05 19:10:26 fredette Exp $       */
+/*     $NetBSD: rawfs.c,v 1.3 2003/08/21 22:34:48 he Exp $     */
 
 /*
  * Copyright (c) 1995 Gordon W. Ross
@@ -63,7 +63,7 @@
 
 int
 rawfs_open(path, f)
-       char *path;
+       const char *path;
        struct open_file *f;
 {
        struct file *fs;
diff -r 66529bda503c -r 67810de250db sys/arch/sun68k/stand/tapeboot/rawfs.h
--- a/sys/arch/sun68k/stand/tapeboot/rawfs.h    Thu Aug 21 20:00:15 2003 +0000
+++ b/sys/arch/sun68k/stand/tapeboot/rawfs.h    Thu Aug 21 22:34:48 2003 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: rawfs.h,v 1.1 2001/06/14 12:57:17 fredette Exp $       */
+/*     $NetBSD: rawfs.h,v 1.2 2003/08/21 22:34:48 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