diff options
author | bde <bde@FreeBSD.org> | 1997-06-14 15:11:07 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-06-14 15:11:07 +0000 |
commit | 22b6cfd000d8b6f4f5b3968239c7058ff20c4a04 (patch) | |
tree | 63158d2f6b1ee948bb6069a669d9a0969bd85bcf /sys/gnu | |
parent | 42d8f4d690e2e9c4e6553655e2acf0eacb75e45c (diff) | |
download | FreeBSD-src-22b6cfd000d8b6f4f5b3968239c7058ff20c4a04.zip FreeBSD-src-22b6cfd000d8b6f4f5b3968239c7058ff20c4a04.tar.gz |
Removed unused #includes.
Diffstat (limited to 'sys/gnu')
25 files changed, 37 insertions, 68 deletions
diff --git a/sys/gnu/i386/fpemul/errors.c b/sys/gnu/i386/fpemul/errors.c index 8989052..2c9bf36 100644 --- a/sys/gnu/i386/fpemul/errors.c +++ b/sys/gnu/i386/fpemul/errors.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: errors.c,v 1.7 1997/02/22 09:29:01 peter Exp $ * */ @@ -74,7 +74,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/proc.h> -#include <machine/cpu.h> #include <machine/pcb.h> #include <gnu/i386/fpemul/fpu_emu.h> diff --git a/sys/gnu/i386/fpemul/exception.h b/sys/gnu/i386/fpemul/exception.h index f7d860f..88316f8 100644 --- a/sys/gnu/i386/fpemul/exception.h +++ b/sys/gnu/i386/fpemul/exception.h @@ -54,7 +54,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: exception.h,v 1.7 1997/02/22 09:29:02 peter Exp $ * * */ @@ -91,9 +91,6 @@ #ifndef LOCORE #ifdef DEBUG -#include <sys/param.h> -#include <sys/systm.h> - #define EXCEPTION(x) \ do { \ printf("exception in %s at line %d\n", __FILE__, __LINE__); \ diff --git a/sys/gnu/i386/fpemul/fpu_arith.c b/sys/gnu/i386/fpemul/fpu_arith.c index cfc78fa..c2183ba 100644 --- a/sys/gnu/i386/fpemul/fpu_arith.c +++ b/sys/gnu/i386/fpemul/fpu_arith.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: fpu_arith.c,v 1.7 1997/02/22 09:29:03 peter Exp $ * */ @@ -65,12 +65,10 @@ #include <sys/param.h> #include <sys/proc.h> -#include <machine/cpu.h> #include <machine/pcb.h> #include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/fpu_system.h> -#include <gnu/i386/fpemul/control_w.h> void diff --git a/sys/gnu/i386/fpemul/fpu_aux.c b/sys/gnu/i386/fpemul/fpu_aux.c index ddfae94..26bb61d 100644 --- a/sys/gnu/i386/fpemul/fpu_aux.c +++ b/sys/gnu/i386/fpemul/fpu_aux.c @@ -56,12 +56,15 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: fpu_aux.c,v 1.7 1997/02/22 09:29:04 peter Exp $ * */ #include <sys/param.h> +#ifdef DEBUG +#include <sys/systm.h> /* for printf() in EXCEPTION() */ +#endif #include <sys/proc.h> #include <machine/cpu.h> #include <machine/pcb.h> diff --git a/sys/gnu/i386/fpemul/fpu_entry.c b/sys/gnu/i386/fpemul/fpu_entry.c index 8fc7153..60a3e07 100644 --- a/sys/gnu/i386/fpemul/fpu_entry.c +++ b/sys/gnu/i386/fpemul/fpu_entry.c @@ -55,7 +55,7 @@ * * W. Metzenthen June 1994. * - * $Id$ + * $Id: fpu_entry.c,v 1.11 1997/02/22 09:29:06 peter Exp $ * */ @@ -86,7 +86,6 @@ #include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/fpu_system.h> #include <gnu/i386/fpemul/exception.h> -#include <gnu/i386/fpemul/control_w.h> #include <gnu/i386/fpemul/status_w.h> diff --git a/sys/gnu/i386/fpemul/fpu_etc.c b/sys/gnu/i386/fpemul/fpu_etc.c index 3ba4cbd..0e18653 100644 --- a/sys/gnu/i386/fpemul/fpu_etc.c +++ b/sys/gnu/i386/fpemul/fpu_etc.c @@ -56,20 +56,21 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: fpu_etc.c,v 1.6 1997/02/22 09:29:06 peter Exp $ * */ #include <sys/param.h> +#ifdef DEBUG +#include <sys/systm.h> /* for printf() in EXCEPTION() */ +#endif #include <sys/proc.h> -#include <machine/cpu.h> #include <machine/pcb.h> #include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/fpu_system.h> #include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/status_w.h> -#include <gnu/i386/fpemul/reg_constant.h> static void diff --git a/sys/gnu/i386/fpemul/fpu_trig.c b/sys/gnu/i386/fpemul/fpu_trig.c index c54c907..9d9ce22 100644 --- a/sys/gnu/i386/fpemul/fpu_trig.c +++ b/sys/gnu/i386/fpemul/fpu_trig.c @@ -56,14 +56,16 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: fpu_trig.c,v 1.8 1997/02/22 09:29:08 peter Exp $ * */ #include <sys/param.h> +#ifdef DEBUG +#include <sys/systm.h> /* for printf() in EXCEPTION() */ +#endif #include <sys/proc.h> -#include <machine/cpu.h> #include <machine/pcb.h> #include <gnu/i386/fpemul/fpu_emu.h> diff --git a/sys/gnu/i386/fpemul/load_store.c b/sys/gnu/i386/fpemul/load_store.c index f48d019..3573df0 100644 --- a/sys/gnu/i386/fpemul/load_store.c +++ b/sys/gnu/i386/fpemul/load_store.c @@ -57,7 +57,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: load_store.c,v 1.8 1997/02/22 09:29:10 peter Exp $ * */ @@ -71,13 +71,11 @@ #include <sys/param.h> #include <sys/proc.h> #include <sys/systm.h> -#include <machine/cpu.h> #include <machine/md_var.h> #include <machine/pcb.h> #include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/fpu_system.h> -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/status_w.h> diff --git a/sys/gnu/i386/fpemul/poly_2xm1.c b/sys/gnu/i386/fpemul/poly_2xm1.c index 11025cb..c7902e5 100644 --- a/sys/gnu/i386/fpemul/poly_2xm1.c +++ b/sys/gnu/i386/fpemul/poly_2xm1.c @@ -56,13 +56,11 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: poly_2xm1.c,v 1.6 1997/02/22 09:29:14 peter Exp $ * */ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/reg_constant.h> -#include <gnu/i386/fpemul/fpu_emu.h> diff --git a/sys/gnu/i386/fpemul/poly_atan.c b/sys/gnu/i386/fpemul/poly_atan.c index bdd1d06..c7379bf 100644 --- a/sys/gnu/i386/fpemul/poly_atan.c +++ b/sys/gnu/i386/fpemul/poly_atan.c @@ -56,13 +56,11 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: poly_atan.c,v 1.8 1997/02/22 09:29:15 peter Exp $ * */ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/reg_constant.h> -#include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/control_w.h> diff --git a/sys/gnu/i386/fpemul/poly_l2.c b/sys/gnu/i386/fpemul/poly_l2.c index 18503e1..a4684c9 100644 --- a/sys/gnu/i386/fpemul/poly_l2.c +++ b/sys/gnu/i386/fpemul/poly_l2.c @@ -56,14 +56,12 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: poly_l2.c,v 1.8 1997/02/22 09:29:17 peter Exp $ * */ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/reg_constant.h> -#include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/control_w.h> diff --git a/sys/gnu/i386/fpemul/poly_sin.c b/sys/gnu/i386/fpemul/poly_sin.c index 1c12419..8bcbe93 100644 --- a/sys/gnu/i386/fpemul/poly_sin.c +++ b/sys/gnu/i386/fpemul/poly_sin.c @@ -56,14 +56,17 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: poly_sin.c,v 1.8 1997/02/22 09:29:18 peter Exp $ * */ +#ifdef DEBUG +#include <sys/types.h> +#include <sys/systm.h> /* for printf() in EXCEPTION() */ +#endif #include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/reg_constant.h> -#include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/control_w.h> diff --git a/sys/gnu/i386/fpemul/poly_tan.c b/sys/gnu/i386/fpemul/poly_tan.c index ee88da7..541f213 100644 --- a/sys/gnu/i386/fpemul/poly_tan.c +++ b/sys/gnu/i386/fpemul/poly_tan.c @@ -56,13 +56,11 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: poly_tan.c,v 1.8 1997/02/22 09:29:19 peter Exp $ * */ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/reg_constant.h> -#include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/control_w.h> diff --git a/sys/gnu/i386/fpemul/reg_add_sub.c b/sys/gnu/i386/fpemul/reg_add_sub.c index 1786530..b873fca 100644 --- a/sys/gnu/i386/fpemul/reg_add_sub.c +++ b/sys/gnu/i386/fpemul/reg_add_sub.c @@ -55,7 +55,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: reg_add_sub.c,v 1.6 1997/02/22 09:29:20 peter Exp $ * */ @@ -64,11 +64,8 @@ | the source FPU_REGs. | +---------------------------------------------------------------------------*/ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/reg_constant.h> -#include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/control_w.h> -#include <gnu/i386/fpemul/fpu_system.h> void diff --git a/sys/gnu/i386/fpemul/reg_compare.c b/sys/gnu/i386/fpemul/reg_compare.c index 3434e03..5737cf5 100644 --- a/sys/gnu/i386/fpemul/reg_compare.c +++ b/sys/gnu/i386/fpemul/reg_compare.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: reg_compare.c,v 1.8 1997/02/22 09:29:21 peter Exp $ * */ @@ -66,7 +66,6 @@ #include <sys/param.h> #include <sys/proc.h> #include <sys/systm.h> -#include <machine/cpu.h> #include <machine/pcb.h> #include <gnu/i386/fpemul/fpu_emu.h> diff --git a/sys/gnu/i386/fpemul/reg_constant.c b/sys/gnu/i386/fpemul/reg_constant.c index cd3353a..fc2860a 100644 --- a/sys/gnu/i386/fpemul/reg_constant.c +++ b/sys/gnu/i386/fpemul/reg_constant.c @@ -64,14 +64,11 @@ #include <sys/param.h> #include <sys/proc.h> -#include <sys/systm.h> -#include <machine/cpu.h> #include <machine/pcb.h> #include <gnu/i386/fpemul/fpu_emu.h> #include <gnu/i386/fpemul/fpu_system.h> #include <gnu/i386/fpemul/status_w.h> -#include <gnu/i386/fpemul/reg_constant.h> FPU_REG CONST_1 = {SIGN_POS, TW_Valid, EXP_BIAS, diff --git a/sys/gnu/i386/fpemul/reg_div.s b/sys/gnu/i386/fpemul/reg_div.s index 61396cf..adac832 100644 --- a/sys/gnu/i386/fpemul/reg_div.s +++ b/sys/gnu/i386/fpemul/reg_div.s @@ -60,13 +60,11 @@ * W. Metzenthen June 1994. * * - * $Id: reg_div.s,v 1.6 1997/02/22 09:29:22 peter Exp $ + * $Id: reg_div.s,v 1.7 1997/04/22 06:54:50 jdp Exp $ * */ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/fpu_asm.h> -#include <gnu/i386/fpemul/control_w.h> .text ENTRY(reg_div) diff --git a/sys/gnu/i386/fpemul/reg_ld_str.c b/sys/gnu/i386/fpemul/reg_ld_str.c index 84b502e..1af7a4e 100644 --- a/sys/gnu/i386/fpemul/reg_ld_str.c +++ b/sys/gnu/i386/fpemul/reg_ld_str.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: reg_ld_str.c,v 1.9 1997/02/22 09:29:23 peter Exp $ * */ @@ -70,7 +70,6 @@ #include <sys/param.h> #include <sys/proc.h> #include <sys/systm.h> -#include <machine/cpu.h> #include <machine/md_var.h> #include <machine/pcb.h> diff --git a/sys/gnu/i386/fpemul/reg_mul.c b/sys/gnu/i386/fpemul/reg_mul.c index c3d2657..e82da30 100644 --- a/sys/gnu/i386/fpemul/reg_mul.c +++ b/sys/gnu/i386/fpemul/reg_mul.c @@ -56,7 +56,7 @@ * W. Metzenthen June 1994. * * - * $Id$ + * $Id: reg_mul.c,v 1.6 1997/02/22 09:29:23 peter Exp $ * */ @@ -64,10 +64,7 @@ | The destination may be any FPU_REG, including one of the source FPU_REGs. | +---------------------------------------------------------------------------*/ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/reg_constant.h> -#include <gnu/i386/fpemul/fpu_emu.h> -#include <gnu/i386/fpemul/fpu_system.h> /* This routine must be called with non-empty source registers */ diff --git a/sys/gnu/i386/fpemul/reg_round.s b/sys/gnu/i386/fpemul/reg_round.s index 8da2f0b..de20c51 100644 --- a/sys/gnu/i386/fpemul/reg_round.s +++ b/sys/gnu/i386/fpemul/reg_round.s @@ -65,7 +65,7 @@ * W. Metzenthen June 1994. * * - * $Id: reg_round.s,v 1.6 1997/02/22 09:29:25 peter Exp $ + * $Id: reg_round.s,v 1.7 1997/04/22 06:54:52 jdp Exp $ * */ @@ -118,7 +118,6 @@ +---------------------------------------------------------------------------*/ -#include <gnu/i386/fpemul/fpu_asm.h> #include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/control_w.h> diff --git a/sys/gnu/i386/fpemul/reg_u_add.s b/sys/gnu/i386/fpemul/reg_u_add.s index 21aac51..0e963a3 100644 --- a/sys/gnu/i386/fpemul/reg_u_add.s +++ b/sys/gnu/i386/fpemul/reg_u_add.s @@ -62,7 +62,7 @@ * W. Metzenthen June 1994. * * - * $Id: reg_u_add.s,v 1.6 1997/02/22 09:29:25 peter Exp $ + * $Id: reg_u_add.s,v 1.7 1997/04/22 06:54:52 jdp Exp $ * */ @@ -76,9 +76,7 @@ | Basic checks are performed if PARANOID is defined. */ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/fpu_asm.h> -#include <gnu/i386/fpemul/control_w.h> .text ENTRY(reg_u_add) diff --git a/sys/gnu/i386/fpemul/reg_u_div.s b/sys/gnu/i386/fpemul/reg_u_div.s index bfc7137..9061c90 100644 --- a/sys/gnu/i386/fpemul/reg_u_div.s +++ b/sys/gnu/i386/fpemul/reg_u_div.s @@ -57,7 +57,7 @@ * W. Metzenthen June 1994. * * - * $Id: reg_u_div.s,v 1.6 1997/02/22 09:29:26 peter Exp $ + * $Id: reg_u_div.s,v 1.7 1997/04/22 06:54:53 jdp Exp $ * */ @@ -70,9 +70,7 @@ | Does not compute the destination exponent, but does adjust it. | +---------------------------------------------------------------------------*/ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/fpu_asm.h> -#include <gnu/i386/fpemul/control_w.h> /* #define dSIGL(x) (x) */ diff --git a/sys/gnu/i386/fpemul/reg_u_mul.s b/sys/gnu/i386/fpemul/reg_u_mul.s index 08c5192..6133286 100644 --- a/sys/gnu/i386/fpemul/reg_u_mul.s +++ b/sys/gnu/i386/fpemul/reg_u_mul.s @@ -57,7 +57,7 @@ * W. Metzenthen June 1994. * * - * $Id: reg_u_mul.s,v 1.6 1997/02/22 09:29:27 peter Exp $ + * $Id: reg_u_mul.s,v 1.7 1997/04/22 06:54:54 jdp Exp $ * */ @@ -71,9 +71,7 @@ | Result is rounded to nearest 53 or 64 bits, using "nearest or even". | +---------------------------------------------------------------------------*/ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/fpu_asm.h> -#include <gnu/i386/fpemul/control_w.h> .data diff --git a/sys/gnu/i386/fpemul/reg_u_sub.s b/sys/gnu/i386/fpemul/reg_u_sub.s index 310cc36..df8baa4 100644 --- a/sys/gnu/i386/fpemul/reg_u_sub.s +++ b/sys/gnu/i386/fpemul/reg_u_sub.s @@ -61,7 +61,7 @@ * W. Metzenthen June 1994. * * - * $Id: reg_u_sub.s,v 1.6 1997/02/22 09:29:27 peter Exp $ + * $Id: reg_u_sub.s,v 1.7 1997/04/22 06:54:55 jdp Exp $ * */ @@ -76,9 +76,7 @@ | Basic checks are performed if PARANOID is defined. */ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/fpu_asm.h> -#include <gnu/i386/fpemul/control_w.h> .text ENTRY(reg_u_sub) diff --git a/sys/gnu/i386/fpemul/wm_sqrt.s b/sys/gnu/i386/fpemul/wm_sqrt.s index ead5355..f79329e 100644 --- a/sys/gnu/i386/fpemul/wm_sqrt.s +++ b/sys/gnu/i386/fpemul/wm_sqrt.s @@ -60,7 +60,7 @@ * W. Metzenthen June 1994. * * - * $Id: wm_sqrt.s,v 1.6 1997/02/22 09:29:30 peter Exp $ + * $Id: wm_sqrt.s,v 1.7 1997/04/22 06:54:57 jdp Exp $ * */ @@ -77,7 +77,6 @@ | The guess is kept in %esi:%edi | +---------------------------------------------------------------------------*/ -#include <gnu/i386/fpemul/exception.h> #include <gnu/i386/fpemul/fpu_asm.h> |