Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Adapt to const-ification of first arg of open funct...
details: https://anonhg.NetBSD.org/src/rev/3d7c72f7a6a4
branches: trunk
changeset: 550794:3d7c72f7a6a4
user: he <he%NetBSD.org@localhost>
date: Thu Aug 21 23:15:18 2003 +0000
description:
Adapt to const-ification of first arg of open function in fs_ops.
diffstat:
sys/arch/acorn26/stand/lib/riscosfile.c | 4 ++--
sys/arch/acorn26/stand/lib/riscosfile.h | 4 ++--
sys/arch/acorn32/stand/lib/riscosfile.c | 4 ++--
sys/arch/acorn32/stand/lib/riscosfile.h | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 3479ddd90479 -r 3d7c72f7a6a4 sys/arch/acorn26/stand/lib/riscosfile.c
--- a/sys/arch/acorn26/stand/lib/riscosfile.c Thu Aug 21 23:00:07 2003 +0000
+++ b/sys/arch/acorn26/stand/lib/riscosfile.c Thu Aug 21 23:15:18 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: riscosfile.c,v 1.2 2002/05/28 14:38:55 bjh21 Exp $ */
+/* $NetBSD: riscosfile.c,v 1.3 2003/08/21 23:15:18 he Exp $ */
/*-
* Copyright (c) 2001 Ben Harris
@@ -37,7 +37,7 @@
};
int
-riscos_open(char *path, struct open_file *f)
+riscos_open(const char *path, struct open_file *f)
{
struct riscosfile *rf;
os_error *error;
diff -r 3479ddd90479 -r 3d7c72f7a6a4 sys/arch/acorn26/stand/lib/riscosfile.h
--- a/sys/arch/acorn26/stand/lib/riscosfile.h Thu Aug 21 23:00:07 2003 +0000
+++ b/sys/arch/acorn26/stand/lib/riscosfile.h Thu Aug 21 23:15:18 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: riscosfile.h,v 1.1 2002/03/24 15:47:28 bjh21 Exp $ */
+/* $NetBSD: riscosfile.h,v 1.2 2003/08/21 23:15:18 he Exp $ */
/*-
* Copyright (c) 2001 Ben Harris
@@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-int riscos_open(char *, struct open_file *);
+int riscos_open(const char *, struct open_file *);
int riscos_read(struct open_file *, void *, size_t, size_t *);
int riscos_close(struct open_file *);
int riscos_write(struct open_file *, void *, size_t, size_t *);
diff -r 3479ddd90479 -r 3d7c72f7a6a4 sys/arch/acorn32/stand/lib/riscosfile.c
--- a/sys/arch/acorn32/stand/lib/riscosfile.c Thu Aug 21 23:00:07 2003 +0000
+++ b/sys/arch/acorn32/stand/lib/riscosfile.c Thu Aug 21 23:15:18 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: riscosfile.c,v 1.1 2002/12/28 23:57:39 reinoud Exp $ */
+/* $NetBSD: riscosfile.c,v 1.2 2003/08/21 23:17:41 he Exp $ */
/*-
* Copyright (c) 2001 Ben Harris
@@ -37,7 +37,7 @@
};
int
-riscos_open(char *path, struct open_file *f)
+riscos_open(const char *path, struct open_file *f)
{
struct riscosfile *rf;
os_error *error;
diff -r 3479ddd90479 -r 3d7c72f7a6a4 sys/arch/acorn32/stand/lib/riscosfile.h
--- a/sys/arch/acorn32/stand/lib/riscosfile.h Thu Aug 21 23:00:07 2003 +0000
+++ b/sys/arch/acorn32/stand/lib/riscosfile.h Thu Aug 21 23:15:18 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: riscosfile.h,v 1.1 2002/12/28 23:57:39 reinoud Exp $ */
+/* $NetBSD: riscosfile.h,v 1.2 2003/08/21 23:17:41 he Exp $ */
/*-
* Copyright (c) 2001 Ben Harris
@@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-int riscos_open(char *, struct open_file *);
+int riscos_open(const char *, struct open_file *);
int riscos_read(struct open_file *, void *, size_t, size_t *);
int riscos_close(struct open_file *);
int riscos_write(struct open_file *, void *, size_t, size_t *);
Home |
Main Index |
Thread Index |
Old Index