Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/config Remove makevirtif(), it's not likely to be ...
details: https://anonhg.NetBSD.org/src/rev/b533d6f0441b
branches: trunk
changeset: 787793:b533d6f0441b
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Jul 03 19:13:33 2013 +0000
description:
Remove makevirtif(), it's not likely to be used in testing.
(and this file should go away anyway in favor of using ifconfig etc.)
diffstat:
tests/net/config/netconfig.c | 18 ++----------------
1 files changed, 2 insertions(+), 16 deletions(-)
diffs (39 lines):
diff -r d56b234a1712 -r b533d6f0441b tests/net/config/netconfig.c
--- a/tests/net/config/netconfig.c Wed Jul 03 17:10:28 2013 +0000
+++ b/tests/net/config/netconfig.c Wed Jul 03 19:13:33 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netconfig.c,v 1.7 2011/02/28 21:21:14 pooka Exp $ */
+/* $NetBSD: netconfig.c,v 1.8 2013/07/03 19:13:33 pooka Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: netconfig.c,v 1.7 2011/02/28 21:21:14 pooka Exp $");
+__RCSID("$NetBSD: netconfig.c,v 1.8 2013/07/03 19:13:33 pooka Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -72,20 +72,6 @@
}
static void __unused
-netcfg_rump_makevirtif(int ifnum, char *ifname)
-{
- int rv;
-
- if ((rv = rump_pub_virtif_create(ifnum)) != 0) {
- if (noatf)
- err(1, "makeshmif: rump_pub_virtif_create %d", rv);
- else
- atf_tc_fail("makeshmif: rump_pub_virtif_create %d", rv);
- }
- sprintf(ifname, "virt%d", ifnum);
-}
-
-static void __unused
netcfg_rump_if(const char *ifname, const char *addr, const char *mask)
{
struct ifaliasreq ia;
Home |
Main Index |
Thread Index |
Old Index