Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Hide struct uio inside of a _KERNEL ifdef.



details:   https://anonhg.NetBSD.org/src/rev/ac4a82da734f
branches:  trunk
changeset: 524789:ac4a82da734f
user:      erh <erh%NetBSD.org@localhost>
date:      Sat Mar 30 20:28:13 2002 +0000

description:
Hide struct uio inside of a _KERNEL ifdef.

diffstat:

 sys/sys/uio.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r d7b48bb08750 -r ac4a82da734f sys/sys/uio.h
--- a/sys/sys/uio.h     Sat Mar 30 20:21:21 2002 +0000
+++ b/sys/sys/uio.h     Sat Mar 30 20:28:13 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uio.h,v 1.21 2001/10/16 15:52:19 kleink Exp $  */
+/*     $NetBSD: uio.h,v 1.22 2002/03/30 20:28:13 erh Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1993, 1994
@@ -64,6 +64,7 @@
 #define        off_t           __off_t
 #endif
 
+#ifdef _KERNEL
 enum   uio_rw { UIO_READ, UIO_WRITE };
 
 /* Segment flag values. */
@@ -81,6 +82,7 @@
        enum    uio_rw uio_rw;  /* see above */
        struct  proc *uio_procp;/* process if UIO_USERSPACE */
 };
+#endif /* _KERNEL */
 
 /*
  * Limits



Home | Main Index | Thread Index | Old Index