Provide ifunit stub in the same place as others.
This commit is contained in:
parent
8a1a1e1e27
commit
9fd33357b3
|
@ -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 <sys/cdefs.h>
|
||||
__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 <sys/param.h>
|
||||
#include <sys/protosw.h>
|
||||
|
@ -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;
|
||||
|
|
|
@ -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 <sys/cdefs.h>
|
||||
__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 <sys/param.h>
|
||||
|
||||
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue