Adapt to const-ification of first arg of open function in fs_ops.
This commit is contained in:
parent
09c6022868
commit
1c6c843936
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue