summaryrefslogtreecommitdiff
path: root/i386/i386at/kd.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/kd.c')
-rw-r--r--i386/i386at/kd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index af5b792..bd10b5f 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -113,10 +113,6 @@ static void charput(), charmvup(), charmvdown(), charclear(), charsetcursor();
static void kd_noopreset();
boolean_t kdcheckmagic();
-int kdcnprobe(struct consdev *cp);
-int kdcninit(struct consdev *cp);
-int kdcngetc(dev_t dev, int wait);
-void kdcnputc(dev_t dev, int c);
int do_modifier (int, Scancode, boolean_t);
/*
@@ -2970,16 +2966,18 @@ kdcngetc(dev_t dev, int wait)
return kdcnmaygetc();
}
-void
+int
kdcnputc(dev_t dev, int c)
{
if (!kd_initialized)
- return;
+ return -1;
/* Note that tab is handled in kd_putc */
if (c == '\n')
kd_putc('\r');
kd_putc(c);
+
+ return 0;
}
/*