Module Name:    src
Committed By:   uebayasi
Date:           Wed Jul 27 13:20:07 UTC 2011

Modified Files:
        src/sys/sys: proc.h uio.h

Log Message:
Forward-declare struct vmspace to reduce dependencies on uvm/uvm_extern.h.


To generate a diff of this commit:
cvs rdiff -u -r1.307 -r1.308 src/sys/sys/proc.h
cvs rdiff -u -r1.35 -r1.36 src/sys/sys/uio.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/proc.h
diff -u src/sys/sys/proc.h:1.307 src/sys/sys/proc.h:1.308
--- src/sys/sys/proc.h:1.307	Mon May  2 22:27:53 2011
+++ src/sys/sys/proc.h	Wed Jul 27 13:20:07 2011
@@ -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 */
 

Index: src/sys/sys/uio.h
diff -u src/sys/sys/uio.h:1.35 src/sys/sys/uio.h:1.36
--- src/sys/sys/uio.h:1.35	Fri Apr 23 15:19:20 2010
+++ src/sys/sys/uio.h	Wed Jul 27 13:20:07 2011
@@ -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 */

Reply via email to