Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Use a copied fktrace syscall arg structu...
details: https://anonhg.NetBSD.org/src/rev/a1335ba82f02
branches: trunk
changeset: 500014:a1335ba82f02
user: fvdl <fvdl%NetBSD.org@localhost>
date: Sun Dec 03 14:48:29 2000 +0000
description:
Use a copied fktrace syscall arg structure with out 'const int' for the
filedescriptor to copy arguments, avoiding a warning. XXX
diffstat:
sys/compat/netbsd32/netbsd32_netbsd.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 3bd4e1ccbfd6 -r a1335ba82f02 sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c Sun Dec 03 14:47:27 2000 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c Sun Dec 03 14:48:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_netbsd.c,v 1.42 2000/12/01 21:48:24 jdolecek Exp $ */
+/* $NetBSD: netbsd32_netbsd.c,v 1.43 2000/12/03 14:48:29 fvdl Exp $ */
/*
* Copyright (c) 1998 Matthew R. Green
@@ -5443,7 +5443,17 @@
syscallarg(int) facs;
syscallarg(int) pid;
} */ *uap = v;
+#if 0
struct sys_fktrace_args ua;
+#else
+ /* XXXX */
+ struct sys_fktrace_noconst_args {
+ syscallarg(int) fd;
+ syscallarg(int) ops;
+ syscallarg(int) facs;
+ syscallarg(int) pid;
+ } ua;
+#endif
NETBSD32TOX_UAP(fd, int);
NETBSD32TO64_UAP(ops);
Home |
Main Index |
Thread Index |
Old Index