summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_aout.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-09-10 11:57:02 +0000
committerbde <bde@FreeBSD.org>2002-09-10 11:57:02 +0000
commita31246083854c68b3a59d1cb9909b800297f0247 (patch)
treea6e6b2ddeaa51e3a9b68487dfecf3be8417d49c1 /sys/kern/imgact_aout.c
parent8aa3df4eb23614a40cdabd77332b1b29ff0bc21e (diff)
downloadFreeBSD-src-a31246083854c68b3a59d1cb9909b800297f0247.zip
FreeBSD-src-a31246083854c68b3a59d1cb9909b800297f0247.tar.gz
Include <sys/malloc.h> instead of depending on namespace pollution 2
layers deep in <sys/proc.h> or <sys/vnode.h>. Removed unused includes. Sorted includes.
Diffstat (limited to 'sys/kern/imgact_aout.c')
-rw-r--r--sys/kern/imgact_aout.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c
index 4ed589d..8903988 100644
--- a/sys/kern/imgact_aout.c
+++ b/sys/kern/imgact_aout.c
@@ -28,32 +28,29 @@
#include <sys/param.h>
#include <sys/exec.h>
-#include <sys/fcntl.h>
#include <sys/imgact.h>
#include <sys/imgact_aout.h>
#include <sys/kernel.h>
#include <sys/lock.h>
+#include <sys/malloc.h>
#include <sys/mutex.h>
-#include <sys/namei.h>
-#include <sys/pioctl.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
-#include <sys/systm.h>
#include <sys/signalvar.h>
-#include <sys/stat.h>
-#include <sys/sysent.h>
#include <sys/syscall.h>
+#include <sys/sysent.h>
+#include <sys/systm.h>
#include <sys/vnode.h>
#include <sys/user.h>
-#include <machine/md_var.h>
#include <machine/frame.h>
+#include <machine/md_var.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <vm/vm_object.h>
+#include <vm/vm_param.h>
static int exec_aout_imgact(struct image_params *imgp);
static int aout_fixup(register_t **stack_base, struct image_params *imgp);
OpenPOWER on IntegriCloud