From 3a846783473655dc64c19fde3493e757ab16afe5 Mon Sep 17 00:00:00 2001 From: tedu Date: Tue, 23 Dec 2014 03:26:24 +0000 Subject: [PATCH] unifdef INET --- sys/kern/uipc_domain.c | 4 +--- sys/sys/domain.h | 4 +--- 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; -- 2.20.1