Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpnet don't invade the __toolchain namespace
details: https://anonhg.NetBSD.org/src/rev/f55128699e1e
branches: trunk
changeset: 328972:f55128699e1e
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Apr 26 11:23:56 2014 +0000
description:
don't invade the __toolchain namespace
diffstat:
sys/rump/librump/rumpnet/net_stub.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (51 lines):
diff -r e4fd934595bc -r f55128699e1e sys/rump/librump/rumpnet/net_stub.c
--- a/sys/rump/librump/rumpnet/net_stub.c Sat Apr 26 11:23:03 2014 +0000
+++ b/sys/rump/librump/rumpnet/net_stub.c Sat Apr 26 11:23:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: net_stub.c,v 1.16 2014/04/26 11:23:03 pooka Exp $ */
+/* $NetBSD: net_stub.c,v 1.17 2014/04/26 11:23:56 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.16 2014/04/26 11:23:03 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.17 2014/04/26 11:23:56 pooka Exp $");
#include <sys/param.h>
#include <sys/protosw.h>
@@ -38,9 +38,9 @@
#include <compat/sys/socket.h>
#include <compat/sys/sockio.h>
-int __rumpnet_stub(void);
+int rumpnet_stub(void);
int
-__rumpnet_stub(void)
+rumpnet_stub(void)
{
panic("component not available");
@@ -52,14 +52,14 @@
*/
/* bridge */
-__weak_alias(bridge_ifdetach,__rumpnet_stub);
-__weak_alias(bridge_output,__rumpnet_stub);
-__weak_alias(bridge_input,__rumpnet_stub);
+__weak_alias(bridge_ifdetach,rumpnet_stub);
+__weak_alias(bridge_output,rumpnet_stub);
+__weak_alias(bridge_input,rumpnet_stub);
/* agr */
-__weak_alias(agr_input,__rumpnet_stub);
-__weak_alias(ieee8023ad_lacp_input,__rumpnet_stub);
-__weak_alias(ieee8023ad_marker_input,__rumpnet_stub);
+__weak_alias(agr_input,rumpnet_stub);
+__weak_alias(ieee8023ad_lacp_input,rumpnet_stub);
+__weak_alias(ieee8023ad_marker_input,rumpnet_stub);
struct ifnet_head ifnet;
Home |
Main Index |
Thread Index |
Old Index