diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-01-12 21:11:59 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-01-12 21:11:59 +0000 |
commit | 5375e9ca7502ab26bb0b1359757b85449513425c (patch) | |
tree | df3b5478bce79fc4e4be15f6845b1b446b69331b /sys/dev/sun | |
parent | 5bff219e9cd9f07d735060c3b8214cc42e5e0a0f (diff) |
Oops, sunkbd_decode() still needs to be public for *cngetc() to work;
spotted the hard way by kettenis.
Diffstat (limited to 'sys/dev/sun')
-rw-r--r-- | sys/dev/sun/sunkbd.c | 3 | ||||
-rw-r--r-- | sys/dev/sun/sunkbdvar.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sun/sunkbd.c b/sys/dev/sun/sunkbd.c index 9355a52ef69..a15bde3aede 100644 --- a/sys/dev/sun/sunkbd.c +++ b/sys/dev/sun/sunkbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sunkbd.c,v 1.24 2009/01/12 17:45:37 miod Exp $ */ +/* $OpenBSD: sunkbd.c,v 1.25 2009/01/12 21:11:58 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -57,7 +57,6 @@ #endif void sunkbd_bell(struct sunkbd_softc *, u_int, u_int, u_int); -void sunkbd_decode(u_int8_t, u_int *, int *); void sunkbd_decode5(u_int8_t, u_int *, int *); int sunkbd_enable(void *, int); int sunkbd_getleds(struct sunkbd_softc *); diff --git a/sys/dev/sun/sunkbdvar.h b/sys/dev/sun/sunkbdvar.h index 79e0805484b..656fe3c7116 100644 --- a/sys/dev/sun/sunkbdvar.h +++ b/sys/dev/sun/sunkbdvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sunkbdvar.h,v 1.14 2009/01/12 17:45:37 miod Exp $ */ +/* $OpenBSD: sunkbdvar.h,v 1.15 2009/01/12 21:11:58 miod Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -64,6 +64,7 @@ extern struct wskbd_accessops sunkbd_accessops; void sunkbd_attach(struct sunkbd_softc *, struct wskbddev_attach_args *); void sunkbd_bellstop(void *); +void sunkbd_decode(u_int8_t, u_int *, int *); void sunkbd_input(struct sunkbd_softc *, u_int8_t *, u_int); void sunkbd_raw(struct sunkbd_softc *, u_int8_t); int sunkbd_setclick(struct sunkbd_softc *, int); |