diff options
author | bde <bde@FreeBSD.org> | 1997-09-07 04:21:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-09-07 04:21:25 +0000 |
commit | 4b54cb94d25d8fd3a31dc9efab748ba0e17311a1 (patch) | |
tree | 108d8d6289960b7a6d51db9fccab72c52d784f82 | |
parent | 43f8890766c1ccb51b8c3ff005dd382bca52689f (diff) | |
download | FreeBSD-src-4b54cb94d25d8fd3a31dc9efab748ba0e17311a1.zip FreeBSD-src-4b54cb94d25d8fd3a31dc9efab748ba0e17311a1.tar.gz |
Include kernel.h instead of declaring "extern int hz".
-rw-r--r-- | sys/i386/isa/ft.c | 5 | ||||
-rw-r--r-- | sys/i386/isa/ultra14f.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/i386/isa/ft.c b/sys/i386/isa/ft.c index f0ae02b..6e43d29 100644 --- a/sys/i386/isa/ft.c +++ b/sys/i386/isa/ft.c @@ -17,7 +17,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * ft.c - QIC-40/80 floppy tape driver - * $Id: ft.c,v 1.33 1997/03/24 11:23:45 bde Exp $ + * $Id: ft.c,v 1.34 1997/07/20 14:09:55 bde Exp $ * * 01/19/95 ++sg * Cleaned up recalibrate/seek code at attach time for FreeBSD 2.x. @@ -72,6 +72,7 @@ #include <sys/malloc.h> #include <sys/buf.h> #include <sys/ftape.h> +#include <sys/kernel.h> #include <machine/clock.h> @@ -99,8 +100,6 @@ extern int ftintr __P((ftu_t ftu)); extern int in_fdc(int); /* read fdc registers */ extern int out_fdc(int, int); /* write fdc registers */ -extern int hz; /* system clock rate */ - /* Flags in isadev struct */ #define FT_PROBE 0x1 /* allow for "dangerous" tape probes */ diff --git a/sys/i386/isa/ultra14f.c b/sys/i386/isa/ultra14f.c index 73d73a1..204c155 100644 --- a/sys/i386/isa/ultra14f.c +++ b/sys/i386/isa/ultra14f.c @@ -22,7 +22,7 @@ * today: Fri Jun 2 17:21:03 EST 1994 * added 24F support ++sg * - * $Id: ultra14f.c,v 1.54 1997/03/24 11:24:10 bde Exp $ + * $Id: ultra14f.c,v 1.55 1997/07/20 14:10:16 bde Exp $ */ #ifdef KERNEL /* don't laugh.. this compiles to a program too.. look */ @@ -32,6 +32,7 @@ #include <sys/systm.h> #include <sys/malloc.h> #include <sys/buf.h> +#include <sys/kernel.h> #include <machine/clock.h> @@ -70,7 +71,6 @@ typedef struct { #define MSCP_HASH_SHIFT 9 /* only hash on multiples of 512 */ #define MSCP_HASH(x) ((((long int)(x))>>MSCP_HASH_SHIFT) % MSCP_HASH_SIZE) -extern int hz; #define UHA_NSEG 33 /* number of dma segments supported */ /************************** board definitions *******************************/ |