Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Forward-declare struct vmspace to reduce dependencie...
details: https://anonhg.NetBSD.org/src/rev/37267d49bc41
branches: trunk
changeset: 767686:37267d49bc41
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Wed Jul 27 13:20:07 2011 +0000
description:
Forward-declare struct vmspace to reduce dependencies on uvm/uvm_extern.h.
diffstat:
sys/sys/proc.h | 4 +++-
sys/sys/uio.h | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 701942f638d2 -r 37267d49bc41 sys/sys/proc.h
--- a/sys/sys/proc.h Wed Jul 27 13:18:20 2011 +0000
+++ b/sys/sys/proc.h Wed Jul 27 13:20:07 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.307 2011/05/02 22:27:53 rmind Exp $ */
+/* $NetBSD: proc.h,v 1.308 2011/07/27 13:20:07 uebayasi Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -204,6 +204,8 @@
* (: updated atomically
* :: unlocked, stable
*/
+struct vmspace;
+
struct proc {
LIST_ENTRY(proc) p_list; /* l: List of all processes */
diff -r 701942f638d2 -r 37267d49bc41 sys/sys/uio.h
--- a/sys/sys/uio.h Wed Jul 27 13:18:20 2011 +0000
+++ b/sys/sys/uio.h Wed Jul 27 13:20:07 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uio.h,v 1.35 2010/04/23 15:19:20 rmind Exp $ */
+/* $NetBSD: uio.h,v 1.36 2011/07/27 13:20:07 uebayasi Exp $ */
/*
* Copyright (c) 1982, 1986, 1993, 1994
@@ -76,6 +76,8 @@
#ifdef __UIO_EXPOSE
+struct vmspace;
+
struct uio {
struct iovec *uio_iov; /* pointer to array of iovecs */
int uio_iovcnt; /* number of iovecs in array */
Home |
Main Index |
Thread Index |
Old Index