diff options
author | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2014-05-14 18:11:25 +0000 |
---|---|---|
committer | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2014-05-14 18:11:25 +0000 |
commit | 8f88dd59ef38b8d15d90dcf778c7d271cfd89f2f (patch) | |
tree | fed69155b1d2130359fb9dfd45b082f36cd82538 /sys/dev/wscons/wsmoused.h | |
parent | c63c1ecbb4b2665c2c6fa5ad11dcd6a59919d5d8 (diff) |
wsmoused() called if cmd == WSDISPLAYIO_WSMOUSED only,
don't need check cmd twice.
ok miod@
Diffstat (limited to 'sys/dev/wscons/wsmoused.h')
-rw-r--r-- | sys/dev/wscons/wsmoused.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsmoused.h b/sys/dev/wscons/wsmoused.h index 1c6ad81ec61..7f17beeddbc 100644 --- a/sys/dev/wscons/wsmoused.h +++ b/sys/dev/wscons/wsmoused.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmoused.h,v 1.8 2009/05/31 17:02:20 miod Exp $ */ +/* $OpenBSD: wsmoused.h,v 1.9 2014/05/14 18:11:24 shadchin Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -35,7 +35,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -int wsmoused(struct wsdisplay_softc *, u_long, caddr_t, int, struct proc *); +int wsmoused(struct wsdisplay_softc *, caddr_t, int, struct proc *); void motion_event(struct wsscreen *, u_int, int); void button_event(struct wsscreen *, int, int); |