Source-Changes-HG archive

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

[src/trunk]: src/sys Make domains extern.



details:   https://anonhg.NetBSD.org/src/rev/00a2f83e3337
branches:  trunk
changeset: 526846:00a2f83e3337
user:      matt <matt%NetBSD.org@localhost>
date:      Sun May 12 20:36:58 2002 +0000

description:
Make domains extern.

diffstat:

 sys/kern/uipc_domain.c |  6 ++++--
 sys/sys/domain.h       |  4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 28177087e3d3 -r 00a2f83e3337 sys/kern/uipc_domain.c
--- a/sys/kern/uipc_domain.c    Sun May 12 20:35:15 2002 +0000
+++ b/sys/kern/uipc_domain.c    Sun May 12 20:36:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_domain.c,v 1.36 2001/11/12 15:25:30 lukem Exp $   */
+/*     $NetBSD: uipc_domain.c,v 1.37 2002/05/12 20:36:58 matt Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_domain.c,v 1.36 2001/11/12 15:25:30 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_domain.c,v 1.37 2002/05/12 20:36:58 matt Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -62,6 +62,8 @@
 void   pffasttimo __P((void *));
 void   pfslowtimo __P((void *));
 
+struct domain  *domains;
+
 struct callout pffasttimo_ch, pfslowtimo_ch;
 
 /*
diff -r 28177087e3d3 -r 00a2f83e3337 sys/sys/domain.h
--- a/sys/sys/domain.h  Sun May 12 20:35:15 2002 +0000
+++ b/sys/sys/domain.h  Sun May 12 20:36:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: domain.h,v 1.11 1997/01/22 07:09:11 mikel Exp $        */
+/*     $NetBSD: domain.h,v 1.12 2002/05/12 20:36:58 matt Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -65,7 +65,7 @@
 };
 
 #ifdef _KERNEL
-struct domain *domains;
+extern struct  domain *domains;
 void domaininit __P((void));
 #endif
 



Home | Main Index | Thread Index | Old Index