Source-Changes-HG archive

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

[src/trunk]: src/sys/sys In order for netstat for the vax port to build, add ...



details:   https://anonhg.NetBSD.org/src/rev/13d777d94187
branches:  trunk
changeset: 567188:13d777d94187
user:      he <he%NetBSD.org@localhost>
date:      Fri Jun 04 09:49:12 2004 +0000

description:
In order for netstat for the vax port to build, add a forward
declaration of "struct proc" for usage outside the kernel.

diffstat:

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

diffs (17 lines):

diff -r 881104ccbf2e -r 13d777d94187 sys/sys/socketvar.h
--- a/sys/sys/socketvar.h       Fri Jun 04 09:25:48 2004 +0000
+++ b/sys/sys/socketvar.h       Fri Jun 04 09:49:12 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socketvar.h,v 1.76 2004/05/27 19:19:00 jonathan Exp $  */
+/*     $NetBSD: socketvar.h,v 1.77 2004/06/04 09:49:12 he Exp $        */
 
 /*-
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -39,6 +39,7 @@
 
 #if !defined(_KERNEL) || defined(LKM)
 struct uio;
+struct proc;
 #endif
 
 TAILQ_HEAD(soqhead, socket);



Home | Main Index | Thread Index | Old Index