Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnet sprinkle COMPAT_50



details:   https://anonhg.NetBSD.org/src/rev/7998a5f78565
branches:  trunk
changeset: 807817:7998a5f78565
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Apr 23 07:55:24 2015 +0000

description:
sprinkle COMPAT_50

diffstat:

 sys/rump/net/lib/libnet/net_component.c |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 5c285af3d9d8 -r 7998a5f78565 sys/rump/net/lib/libnet/net_component.c
--- a/sys/rump/net/lib/libnet/net_component.c   Thu Apr 23 06:39:19 2015 +0000
+++ b/sys/rump/net/lib/libnet/net_component.c   Thu Apr 23 07:55:24 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net_component.c,v 1.2 2014/08/22 11:34:28 pooka Exp $  */
+/*     $NetBSD: net_component.c,v 1.3 2015/04/23 07:55:24 pooka Exp $  */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: net_component.c,v 1.2 2014/08/22 11:34:28 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: net_component.c,v 1.3 2015/04/23 07:55:24 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/domain.h>
@@ -49,11 +49,16 @@
 
 RUMP_COMPONENT(RUMP_COMPONENT_NET_ROUTE)
 {
-       extern struct domain routedomain, compat_50_routedomain, linkdomain;
+       extern struct domain routedomain, linkdomain;
+#ifdef COMPAT_50
+       extern struct domain compat_50_routedomain;
+#endif
 
        domain_attach(&linkdomain);
        domain_attach(&routedomain);
+#ifdef COMPAT_50
        domain_attach(&compat_50_routedomain);
+#endif
 }
 
 RUMP_COMPONENT(RUMP_COMPONENT_NET_IF)



Home | Main Index | Thread Index | Old Index