From 1c6c8439363910daf37f22f121125ce5b0102c50 Mon Sep 17 00:00:00 2001 From: he Date: Thu, 21 Aug 2003 23:28:27 +0000 Subject: [PATCH] Adapt to const-ification of first arg of open function in fs_ops. --- sys/arch/hp300/stand/common/rawfs.c | 4 ++-- sys/arch/hp300/stand/common/rawfs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/hp300/stand/common/rawfs.c b/sys/arch/hp300/stand/common/rawfs.c index 781a7aac6b21..6772454c45b8 100644 --- a/sys/arch/hp300/stand/common/rawfs.c +++ b/sys/arch/hp300/stand/common/rawfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: rawfs.c,v 1.1 1997/02/04 03:52:46 thorpej Exp $ */ +/* $NetBSD: rawfs.c,v 1.2 2003/08/21 23:28:27 he Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -63,7 +63,7 @@ rawfs_get_block __P((struct open_file *)); int rawfs_open(path, f) - char *path; + const char *path; struct open_file *f; { struct rawfs_file *fs; diff --git a/sys/arch/hp300/stand/common/rawfs.h b/sys/arch/hp300/stand/common/rawfs.h index f4074345eb7c..33f6a8e074d7 100644 --- a/sys/arch/hp300/stand/common/rawfs.h +++ b/sys/arch/hp300/stand/common/rawfs.h @@ -1,11 +1,11 @@ -/* $NetBSD: rawfs.h,v 1.1 1997/02/04 03:52:47 thorpej Exp $ */ +/* $NetBSD: rawfs.h,v 1.2 2003/08/21 23:28:27 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));