From e1947f9eb2408a81044e770e763975e46891be75 Mon Sep 17 00:00:00 2001 From: isaki Date: Sun, 11 Mar 2007 08:22:33 +0000 Subject: [PATCH] Include appropriate header file. --- sys/arch/x68k/dev/opmbell.c | 6 +++--- sys/arch/x68k/dev/par.c | 9 +++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/sys/arch/x68k/dev/opmbell.c b/sys/arch/x68k/dev/opmbell.c index 4cca336510f3..1bdf0ea28f77 100644 --- a/sys/arch/x68k/dev/opmbell.c +++ b/sys/arch/x68k/dev/opmbell.c @@ -1,4 +1,4 @@ -/* $NetBSD: opmbell.c,v 1.17 2007/03/11 08:09:25 isaki Exp $ */ +/* $NetBSD: opmbell.c,v 1.18 2007/03/11 08:22:33 isaki Exp $ */ /* * Copyright (c) 1995 MINOURA Makoto, Takuya Harakawa. @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: opmbell.c,v 1.17 2007/03/11 08:09:25 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: opmbell.c,v 1.18 2007/03/11 08:22:33 isaki Exp $"); #include "bell.h" #if NBELL > 0 @@ -59,6 +59,7 @@ __KERNEL_RCSID(0, "$NetBSD: opmbell.c,v 1.17 2007/03/11 08:09:25 isaki Exp $"); #include #include #include +#include #include @@ -496,7 +497,6 @@ opm_bell_setup(struct bell_info *data) int bellmstohz(int m) { - extern int hz; int h = m; if (h > 0) { diff --git a/sys/arch/x68k/dev/par.c b/sys/arch/x68k/dev/par.c index 40d1368c9305..19b5995aaf4b 100644 --- a/sys/arch/x68k/dev/par.c +++ b/sys/arch/x68k/dev/par.c @@ -1,4 +1,4 @@ -/* $NetBSD: par.c,v 1.29 2007/03/11 08:09:25 isaki Exp $ */ +/* $NetBSD: par.c,v 1.30 2007/03/11 08:22:33 isaki Exp $ */ /* * Copyright (c) 1982, 1990 The Regents of the University of California. @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: par.c,v 1.29 2007/03/11 08:09:25 isaki Exp $"); +__KERNEL_RCSID(0, "$NetBSD: par.c,v 1.30 2007/03/11 08:22:33 isaki Exp $"); #include #include @@ -48,6 +48,7 @@ __KERNEL_RCSID(0, "$NetBSD: par.c,v 1.29 2007/03/11 08:09:25 isaki Exp $"); #include #include #include +#include #include #include @@ -435,7 +436,6 @@ parioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l) int parhztoms(int h) { - extern int hz; int m = h; if (m > 0) @@ -446,7 +446,6 @@ parhztoms(int h) int parmstohz(int m) { - extern int hz; int h = m; if (h > 0) { @@ -509,8 +508,6 @@ parsendch(struct par_softc *sc, u_char ch) && (parsend_pending || !(intio_get_sicilian_intr() & SICILIAN_STAT_PAR))) { - extern int hz; - /* wait a second, and try again */ callout_reset(&intr_callout, hz, parintr, 0); partimeout_pending = 1;