summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-23 03:26:25 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-23 03:26:25 +0000
commit3be93801b90d382b4273ca2cf58cdbb95fab39df (patch)
tree710e5fefd31e77754b121afb2bb2146b1552c8dd /sys
parentc545b6a2b9eac8f4127942327cabe40784703a2d (diff)
unifdef INET
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_domain.c4
-rw-r--r--sys/sys/domain.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/kern/uipc_domain.c b/sys/kern/uipc_domain.c
index 5cff4d27768..44e610d69db 100644
--- a/sys/kern/uipc_domain.c
+++ b/sys/kern/uipc_domain.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_domain.c,v 1.38 2014/09/14 14:17:26 jsg Exp $ */
+/* $OpenBSD: uipc_domain.c,v 1.39 2014/12/23 03:26:24 tedu Exp $ */
/* $NetBSD: uipc_domain.c,v 1.14 1996/02/09 19:00:44 christos Exp $ */
/*
@@ -76,9 +76,7 @@ domaininit(void)
* it will be initialized as the *first* element. confusing!
*/
ADDDOMAIN(unix);
-#ifdef INET
ADDDOMAIN(inet);
-#endif
#ifdef INET6
ADDDOMAIN(inet6);
#endif /* INET6 */
diff --git a/sys/sys/domain.h b/sys/sys/domain.h
index d62819fa50f..8173b04802a 100644
--- a/sys/sys/domain.h
+++ b/sys/sys/domain.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: domain.h,v 1.12 2014/08/31 01:42:36 guenther Exp $ */
+/* $OpenBSD: domain.h,v 1.13 2014/12/23 03:26:24 tedu Exp $ */
/* $NetBSD: domain.h,v 1.10 1996/02/09 18:25:07 christos Exp $ */
/*
@@ -70,9 +70,7 @@ struct domain {
extern struct domain *domains;
void domaininit(void);
-#ifdef INET
extern struct domain inetdomain;
-#endif
#ifdef INET6
extern struct domain inet6domain;