Module Name:    src
Committed By:   pooka
Date:           Thu Apr 23 07:55:24 UTC 2015

Modified Files:
        src/sys/rump/net/lib/libnet: net_component.c

Log Message:
sprinkle COMPAT_50


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/net/lib/libnet/net_component.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/net/lib/libnet/net_component.c
diff -u src/sys/rump/net/lib/libnet/net_component.c:1.2 src/sys/rump/net/lib/libnet/net_component.c:1.3
--- src/sys/rump/net/lib/libnet/net_component.c:1.2	Fri Aug 22 11:34:28 2014
+++ src/sys/rump/net/lib/libnet/net_component.c	Thu Apr 23 07:55:24 2015
@@ -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)
 
 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)

Reply via email to