-/* $OpenBSD: ite.c,v 1.14 1997/04/14 01:00:35 briggs Exp $ */
+/* $OpenBSD: ite.c,v 1.15 1997/04/14 17:56:45 gene Exp $ */
/* $NetBSD: ite.c,v 1.32 1997/02/20 00:23:25 scottr Exp $ */
/*
}
void
-itestart(register struct tty * tp)
+itestart(tp)
+ register struct tty *tp;
{
register int cc, s;
}
void
-itestop(struct tty * tp, int flag)
+itestop(tp, flag)
+ struct tty *tp;
+ int flag;
{
int s;
}
int
-ite_intr(adb_event_t * event)
+ite_intr(event)
+ adb_event_t *event;
{
static int shift = 0, control = 0, capslock = 0;
int key, press, val, state;
break;
default:
state = 0;
- if (capslock && isealpha(keyboard[val][1])) {
+ if (capslock && isealpha(keyboard[val][1]))
state = 1;
if (shift)
state = 1;
*/
int
-itecnprobe(struct consdev * cp)
+itecnprobe(cp)
+ struct consdev *cp;
{
int maj, unit;
}
int
-itecninit(struct consdev * cp)
+itecninit(cp)
+ struct consdev *cp;
{
return ite_init();
}
}
int
-iteon(dev_t dev, int flags)
+iteon(dev, flags)
+ dev_t dev;
+ int flags;
{
erasecursor();
clear_screen(2);
}
int
-iteoff(dev_t dev, int flags)
+iteoff(dev, flags)
+ dev_t dev;
+ int flags;
{
erasecursor();
clear_screen(2);
}
int
-itecngetc(dev_t dev)
+itecngetc(dev)
+ dev_t dev;
{
/* Oh, man... */
}
int
-itecnputc(dev_t dev, int c)
+itecnputc(dev, c)
+ dev_t dev;
+ int c;
{
extern dev_t mac68k_zsdev;
extern int zscnputc __P((dev_t dev, int c));