Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/lib/libzpool Comment out the unused 'str...



details:   https://anonhg.NetBSD.org/src/rev/6deaba0dd4fc
branches:  trunk
changeset: 783630:6deaba0dd4fc
user:      dsl <dsl%NetBSD.org@localhost>
date:      Tue Jan 01 19:03:26 2013 +0000

description:
Comment out the unused 'struct proc p0;'
This is userspace, it isn't supposed to know what a 'struct proc' is.

diffstat:

 external/cddl/osnet/lib/libzpool/kernel.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 63be801da82b -r 6deaba0dd4fc external/cddl/osnet/lib/libzpool/kernel.c
--- a/external/cddl/osnet/lib/libzpool/kernel.c Tue Jan 01 19:02:19 2013 +0000
+++ b/external/cddl/osnet/lib/libzpool/kernel.c Tue Jan 01 19:03:26 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kernel.c,v 1.5 2010/12/28 13:36:09 haad Exp $  */
+/*     $NetBSD: kernel.c,v 1.6 2013/01/01 19:03:26 dsl Exp $  */
 
 /*
  * CDDL HEADER START
@@ -29,7 +29,7 @@
 #pragma ident  "%Z%%M% %I%     %E% SMI"
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: kernel.c,v 1.5 2010/12/28 13:36:09 haad Exp $");
+__RCSID("$NetBSD: kernel.c,v 1.6 2013/01/01 19:03:26 dsl Exp $");
 
 #include <sys/zfs_context.h>
 #include <sys/sysctl.h>
@@ -65,7 +65,7 @@
 };
 
 /* this only exists to have its address taken */
-struct proc p0;
+// struct proc p0;
 
 /*
  * =========================================================================



Home | Main Index | Thread Index | Old Index