diff options
author | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
commit | 37660997fe63e18311e879f7d973edfeb03a28f5 (patch) | |
tree | 300274f99668c935a329a2380c568f8de35d4eb3 /sys/sys/domain.h | |
parent | 78ce3864de28cf6df1d35bae1167167384cc0d42 (diff) | |
download | FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.zip FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.tar.gz |
Make networking domains drop-ins, through the magic of GNU ld. (Some day,
there may even be LKMs.) Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
Diffstat (limited to 'sys/sys/domain.h')
-rw-r--r-- | sys/sys/domain.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/sys/domain.h b/sys/sys/domain.h index dbafc9d..8a4a0f4 100644 --- a/sys/sys/domain.h +++ b/sys/sys/domain.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)domain.h 8.1 (Berkeley) 6/2/93 - * $Id: domain.h,v 1.2 1994/08/02 07:52:53 davidg Exp $ + * $Id: domain.h,v 1.3 1994/08/21 04:41:41 paul Exp $ */ #ifndef _SYS_DOMAIN_H_ @@ -64,7 +64,12 @@ struct domain { }; #ifdef KERNEL -struct domain *domains; +extern struct domain *domains; + +#define DOMAIN_SET(name) \ + extern struct domain name ## domain; \ + DATA_SET(domain_set, name ## domain); + #endif #endif |