From 8f88dd59ef38b8d15d90dcf778c7d271cfd89f2f Mon Sep 17 00:00:00 2001 From: Alexandr Shadchin Date: Wed, 14 May 2014 18:11:25 +0000 Subject: wsmoused() called if cmd == WSDISPLAYIO_WSMOUSED only, don't need check cmd twice. ok miod@ --- sys/dev/wscons/wsmoused.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/wscons/wsmoused.h') 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); -- cgit v1.2.3