diff options
author | bde <bde@FreeBSD.org> | 1996-05-01 02:43:13 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-05-01 02:43:13 +0000 |
commit | f92cdcae9936577a691cef736c15f8291c592997 (patch) | |
tree | 4d73706536859631a31b577d0fd5facaf4d0b663 /sys/kern | |
parent | 82c1afdaa1e8eef12f3ed9b548daa1fcf118f4cd (diff) | |
download | FreeBSD-src-f92cdcae9936577a691cef736c15f8291c592997.zip FreeBSD-src-f92cdcae9936577a691cef736c15f8291c592997.tar.gz |
Removed unnecessary #includes from <sys/imgact.h> so that it is
self-sufficient and added explicit #includes where required.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/imgact_aout.c | 4 | ||||
-rw-r--r-- | sys/kern/imgact_elf.c | 5 | ||||
-rw-r--r-- | sys/kern/imgact_gzip.c | 4 | ||||
-rw-r--r-- | sys/kern/kern_exec.c | 5 | ||||
-rw-r--r-- | sys/kern/kern_lkm.c | 3 | ||||
-rw-r--r-- | sys/kern/kern_sig.c | 3 |
6 files changed, 17 insertions, 7 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 4e012f6..9174d32 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_aout.c,v 1.25 1996/03/19 15:02:44 bde Exp $ + * $Id: imgact_aout.c,v 1.26 1996/04/08 01:21:57 davidg Exp $ */ #include <sys/param.h> @@ -34,7 +34,9 @@ #include <sys/imgact.h> #include <sys/imgact_aout.h> #include <sys/kernel.h> +#include <sys/proc.h> #include <sys/sysent.h> +#include <sys/vnode.h> #include <vm/vm.h> #include <vm/vm_param.h> diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 60a324c..7d4b5e6 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_elf.c,v 1.3 1996/03/10 23:44:40 peter Exp $ + * $Id: imgact_elf.c,v 1.4 1996/03/12 06:20:10 peter Exp $ */ #include <sys/param.h> @@ -41,10 +41,13 @@ #include <sys/file.h> #include <sys/malloc.h> #include <sys/mount.h> +#include <sys/namei.h> +#include <sys/proc.h> #include <sys/sysproto.h> #include <sys/syscall.h> #include <sys/signalvar.h> #include <sys/sysctl.h> +#include <sys/vnode.h> #include <vm/vm.h> #include <vm/vm_kern.h> diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 528887b..83c1547 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: imgact_gzip.c,v 1.19 1996/02/13 14:16:36 phk Exp $ + * $Id: imgact_gzip.c,v 1.20 1996/03/19 15:02:47 bde Exp $ * * This module handles execution of a.out files which have been run through * "gzip". This saves diskspace, but wastes cpu-cycles and VM. @@ -27,9 +27,11 @@ #include <sys/imgact_aout.h> #include <sys/kernel.h> #include <sys/mman.h> +#include <sys/proc.h> #include <sys/resourcevar.h> #include <sys/sysent.h> #include <sys/systm.h> +#include <sys/vnode.h> #include <sys/inflate.h> #include <vm/vm.h> diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 444d737..50a5388 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_exec.c,v 1.38 1996/04/08 01:21:59 davidg Exp $ + * $Id: kern_exec.c,v 1.39 1996/04/29 15:07:59 smpatel Exp $ */ #include <sys/param.h> @@ -39,11 +39,14 @@ #include <sys/imgact.h> #include <sys/imgact_elf.h> #include <sys/wait.h> +#include <sys/proc.h> #include <sys/malloc.h> +#include <sys/namei.h> #include <sys/sysent.h> #include <sys/syslog.h> #include <sys/shm.h> #include <sys/sysctl.h> +#include <sys/vnode.h> #include <vm/vm.h> #include <vm/vm_param.h> diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c index 85ade24..f015157 100644 --- a/sys/kern/kern_lkm.c +++ b/sys/kern/kern_lkm.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_lkm.c,v 1.28 1996/03/27 19:42:14 bde Exp $ + * $Id: kern_lkm.c,v 1.29 1996/03/28 14:31:40 scrappy Exp $ */ #include <sys/param.h> @@ -49,6 +49,7 @@ #include <sys/exec.h> #include <sys/imgact.h> #include <sys/lkm.h> +#include <sys/vnode.h> #ifdef DEVFS #include <sys/devfsext.h> #endif /*DEVFS*/ diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 7aafbba..60c0639 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_sig.c 8.7 (Berkeley) 4/18/94 - * $Id: kern_sig.c,v 1.22 1996/03/15 08:01:28 peter Exp $ + * $Id: kern_sig.c,v 1.23 1996/03/30 15:15:30 peter Exp $ */ #include "opt_ktrace.h" @@ -60,7 +60,6 @@ #include <sys/ktrace.h> #include <sys/syslog.h> #include <sys/stat.h> -#include <sys/imgact.h> #include <sys/sysent.h> #include <machine/cpu.h> |