diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-14 19:23:41 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-11-14 19:23:41 +0000 |
commit | e5ce9e85b7cf0e7f803b9989575743a3ee67bc7d (patch) | |
tree | 8485e088ef9f4901c96222c4ab032b0fb428d065 /sys/arch/hp300/dev | |
parent | 5900ee260c1b56a45ab9c25a9e882f89200e02d1 (diff) |
hz is defined in <sys/kernel.h>
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r-- | sys/arch/hp300/dev/hd.c | 4 | ||||
-rw-r--r-- | sys/arch/hp300/dev/ppi.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c index 2202a542606..43a03c182c2 100644 --- a/sys/arch/hp300/dev/hd.c +++ b/sys/arch/hp300/dev/hd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hd.c,v 1.29 2005/11/13 19:25:09 miod Exp $ */ +/* $OpenBSD: hd.c,v 1.30 2005/11/14 19:23:40 miod Exp $ */ /* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */ /* @@ -53,6 +53,7 @@ #include <sys/disklabel.h> #include <sys/fcntl.h> #include <sys/ioctl.h> +#include <sys/kernel.h> #include <sys/proc.h> #include <sys/stat.h> @@ -999,7 +1000,6 @@ hderror(unit) * HDRETRY as defined, the range is 1 to 32 seconds. */ if (sp->c_fef & FEF_IMR) { - extern int hz; int hdtimo = HDWAITC << rs->sc_tab.b_errcnt; #ifdef DEBUG printf("%s: internal maintenance, %d second timeout\n", diff --git a/sys/arch/hp300/dev/ppi.c b/sys/arch/hp300/dev/ppi.c index 45e713f89ea..809af68dd58 100644 --- a/sys/arch/hp300/dev/ppi.c +++ b/sys/arch/hp300/dev/ppi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ppi.c,v 1.13 2005/02/13 23:13:25 mickey Exp $ */ +/* $OpenBSD: ppi.c,v 1.14 2005/11/14 19:23:40 miod Exp $ */ /* $NetBSD: ppi.c,v 1.13 1997/04/02 22:37:33 scottr Exp $ */ /* @@ -42,6 +42,7 @@ #include <sys/conf.h> #include <sys/device.h> #include <sys/errno.h> +#include <sys/kernel.h> #include <sys/malloc.h> #include <sys/proc.h> #include <sys/timeout.h> @@ -466,7 +467,6 @@ int ppihztoms(h) int h; { - extern int hz; int m = h; if (m > 0) @@ -478,7 +478,6 @@ int ppimstohz(m) int m; { - extern int hz; int h = m; if (h > 0) { |