Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/net/lib/libvirtif remove unnecessary header inclusions
details: https://anonhg.NetBSD.org/src/rev/0ae1915e1a3c
branches: trunk
changeset: 327673:0ae1915e1a3c
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Mar 13 20:59:12 2014 +0000
description:
remove unnecessary header inclusions
diffstat:
sys/rump/net/lib/libvirtif/Makefile.virtif | 6 +++---
sys/rump/net/lib/libvirtif/if_virt.c | 9 ++-------
2 files changed, 5 insertions(+), 10 deletions(-)
diffs (49 lines):
diff -r 6cdc79cc594e -r 0ae1915e1a3c sys/rump/net/lib/libvirtif/Makefile.virtif
--- a/sys/rump/net/lib/libvirtif/Makefile.virtif Thu Mar 13 20:55:26 2014 +0000
+++ b/sys/rump/net/lib/libvirtif/Makefile.virtif Thu Mar 13 20:59:12 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.virtif,v 1.2 2014/03/12 23:42:33 pooka Exp $
+# $NetBSD: Makefile.virtif,v 1.3 2014/03/13 20:59:12 pooka Exp $
#
.if !defined(VIRTIF)
@@ -10,7 +10,7 @@
VIRTIFDIR:= ${.PARSEDIR}
.PATH: ${VIRTIFDIR}
-CPPFLAGS+= -I${VIRTIFDIR}/../../../librump/rumpkern -I${VIRTIFDIR}
-CPPFLAGS+= -DVIRTIF_BASE=${VIRTIF}
+CPPFLAGS+= -I${VIRTIFDIR}/../../../librump/rumpkern
+CPPFLAGS+= -DVIRTIF_BASE=${VIRTIF} -I${VIRTIFDIR}
RUMPCOMP_USER_CPPFLAGS+= -DVIRTIF_BASE=${VIRTIF} -I${VIRTIFDIR}
diff -r 6cdc79cc594e -r 0ae1915e1a3c sys/rump/net/lib/libvirtif/if_virt.c
--- a/sys/rump/net/lib/libvirtif/if_virt.c Thu Mar 13 20:55:26 2014 +0000
+++ b/sys/rump/net/lib/libvirtif/if_virt.c Thu Mar 13 20:59:12 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_virt.c,v 1.42 2014/03/13 20:55:26 pooka Exp $ */
+/* $NetBSD: if_virt.c,v 1.43 2014/03/13 20:59:12 pooka Exp $ */
/*
* Copyright (c) 2008, 2013 Antti Kantee. All Rights Reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_virt.c,v 1.42 2014/03/13 20:55:26 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_virt.c,v 1.43 2014/03/13 20:59:12 pooka Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -41,11 +41,6 @@
#include <netinet/in.h>
#include <netinet/in_var.h>
-#include <rump/rump.h>
-
-#include "rump_private.h"
-#include "rump_net_private.h"
-
#include "if_virt.h"
#include "virtif_user.h"
Home |
Main Index |
Thread Index |
Old Index