Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern massively reduce header pollution ...



details:   https://anonhg.NetBSD.org/src/rev/c8b9ad03b56a
branches:  trunk
changeset: 343012:c8b9ad03b56a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jan 18 23:21:28 2016 +0000

description:
massively reduce header pollution from times prehistoric

diffstat:

 sys/rump/librump/rumpkern/emul.c |  30 ++++--------------------------
 1 files changed, 4 insertions(+), 26 deletions(-)

diffs (55 lines):

diff -r 44048bf21534 -r c8b9ad03b56a sys/rump/librump/rumpkern/emul.c
--- a/sys/rump/librump/rumpkern/emul.c  Mon Jan 18 16:46:08 2016 +0000
+++ b/sys/rump/librump/rumpkern/emul.c  Mon Jan 18 23:21:28 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emul.c,v 1.175 2016/01/18 15:53:38 pooka Exp $ */
+/*     $NetBSD: emul.c,v 1.176 2016/01/18 23:21:28 pooka Exp $ */
 
 /*
  * Copyright (c) 2007-2011 Antti Kantee.  All Rights Reserved.
@@ -26,42 +26,20 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.175 2016/01/18 15:53:38 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emul.c,v 1.176 2016/01/18 23:21:28 pooka Exp $");
 
 #include <sys/param.h>
-#include <sys/null.h>
-#include <sys/vnode.h>
-#include <sys/stat.h>
-#include <sys/select.h>
-#include <sys/syslog.h>
-#include <sys/namei.h>
+#include <sys/cprng.h>
+#include <sys/filedesc.h>
 #include <sys/kauth.h>
-#include <sys/kernel.h>
-#include <sys/conf.h>
-#include <sys/device.h>
-#include <sys/queue.h>
-#include <sys/file.h>
-#include <sys/filedesc.h>
-#include <sys/cpu.h>
-#include <sys/kmem.h>
-#include <sys/poll.h>
-#include <sys/timetc.h>
-#include <sys/tprintf.h>
 #include <sys/module.h>
-#include <sys/tty.h>
 #include <sys/reboot.h>
 #include <sys/syscall.h>
-#include <sys/syscallvar.h>
-#include <sys/xcall.h>
-#include <sys/sleepq.h>
-#include <sys/cprng.h>
 
 #include <dev/cons.h>
 
 #include <rump/rumpuser.h>
 
-#include <uvm/uvm_map.h>
-
 #include "rump_private.h"
 
 void (*rump_vfs_fini)(void) = (void *)nullop;



Home | Main Index | Thread Index | Old Index