From 9fd33357b35311b7f05ac617f5fba4a9c987c00b Mon Sep 17 00:00:00 2001 From: pooka Date: Mon, 29 Dec 2008 23:18:35 +0000 Subject: [PATCH] Provide ifunit stub in the same place as others. --- sys/rump/librump/rumpnet/net_stub.c | 5 +++-- sys/rump/librump/rumpnet/rump_net.c | 14 ++------------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/sys/rump/librump/rumpnet/net_stub.c b/sys/rump/librump/rumpnet/net_stub.c index 9db294b2a4dd..325c7d5a147c 100644 --- a/sys/rump/librump/rumpnet/net_stub.c +++ b/sys/rump/librump/rumpnet/net_stub.c @@ -1,4 +1,4 @@ -/* $NetBSD: net_stub.c,v 1.6 2008/12/29 23:12:11 pooka Exp $ */ +/* $NetBSD: net_stub.c,v 1.7 2008/12/29 23:18:35 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.6 2008/12/29 23:12:11 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.7 2008/12/29 23:18:35 pooka Exp $"); #include #include @@ -50,6 +50,7 @@ __weak_alias(rt_walktree,__rumpnet_stub); __weak_alias(rtrequest,__rumpnet_stub); __weak_alias(rtrequest,__rumpnet_stub); __weak_alias(ifioctl,__rumpnet_stub); +__weak_alias(ifunit,__rumpnet_stub); __weak_alias(ifreq_setaddr,__rumpnet_stub); struct ifnet_head ifnet; diff --git a/sys/rump/librump/rumpnet/rump_net.c b/sys/rump/librump/rumpnet/rump_net.c index 9db3ef1d4045..252bb8d91a22 100644 --- a/sys/rump/librump/rumpnet/rump_net.c +++ b/sys/rump/librump/rumpnet/rump_net.c @@ -1,4 +1,4 @@ -/* $NetBSD: rump_net.c,v 1.5 2008/12/18 00:24:13 pooka Exp $ */ +/* $NetBSD: rump_net.c,v 1.6 2008/12/29 23:18:35 pooka Exp $ */ /* * Copyright (c) 2008 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.5 2008/12/18 00:24:13 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.6 2008/12/29 23:18:35 pooka Exp $"); #include @@ -38,16 +38,6 @@ __KERNEL_RCSID(0, "$NetBSD: rump_net.c,v 1.5 2008/12/18 00:24:13 pooka Exp $"); #include "rump_net_private.h" -/* XXX: tempkludge */ -void __rumpnet_unimpl(void); -void -__rumpnet_unimpl() -{ - - panic("XXX"); -} -__weak_alias(ifunit,__rumpnet_unimpl); - void rump_net_init() {