summaryrefslogtreecommitdiff
path: root/i386/i386at/com.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/com.c')
-rw-r--r--i386/i386at/com.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 51f3ff1..bd5b989 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -29,6 +29,7 @@
#include <mach/std_types.h>
#include <sys/types.h>
#include <kern/printf.h>
+#include <kern/mach_clock.h>
#include <sys/time.h>
#include <device/conf.h>
#include <device/errno.h>
@@ -45,8 +46,6 @@
#include <device/cons.h>
-extern void timeout(), ttrstrt();
-
int comprobe(), comstart(), commctl();
void comstop(), comattach(), comintr();
static void comparam();
@@ -383,7 +382,7 @@ io_return_t comopen(
if (!comtimer_active) {
comtimer_active = TRUE;
- comtimer();
+ comtimer(NULL);
}
s = spltty();
@@ -664,7 +663,7 @@ comst_4++;
int comtimer_interval = 5;
void
-comtimer()
+comtimer(void * param)
{
spl_t s = spltty();
struct tty *tp = com_tty;