Removed unnecessary #includes from <sys/imgact.h> so that it is

self-sufficient and added explicit #includes where required.
This commit is contained in:
Bruce Evans 1996-05-01 02:43:13 +00:00
parent 2043dc9a22
commit a794e791c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15494
9 changed files with 27 additions and 16 deletions

View File

@ -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_coff.c,v 1.13 1996/03/12 06:13:08 peter Exp $
* $Id: imgact_coff.c,v 1.14 1996/03/12 06:20:19 peter Exp $
*/
#include <sys/param.h>
@ -39,7 +39,9 @@
#include <sys/file.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>
#include <sys/sysent.h>
#include <sys/vnode.h>
#include <vm/vm.h>
#include <vm/vm_param.h>

View File

@ -28,7 +28,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_linux.c,v 1.12 1996/03/12 06:20:16 peter Exp $
* $Id: imgact_linux.c,v 1.13 1996/03/19 15:02:33 bde Exp $
*/
#include <sys/param.h>
@ -39,7 +39,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_kern.h>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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*/

View File

@ -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>

View File

@ -30,15 +30,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: imgact.h,v 1.10 1995/11/06 12:52:37 davidg Exp $
* $Id: imgact.h,v 1.11 1996/03/10 08:42:52 sos Exp $
*/
#ifndef _SYS_IMGACT_H_
#define _SYS_IMGACT_H_
#include <sys/proc.h>
#include <sys/namei.h>
#include <sys/vnode.h>
#define _SYS_IMGACT_H_
struct image_params {
struct proc *proc; /* our process struct */
@ -61,4 +57,5 @@ struct image_params {
int exec_extract_strings __P((struct image_params *));
int exec_new_vmspace __P((struct image_params *));
#endif
#endif
#endif /* !_SYS_IMGACT_H_ */