summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wsmoused
diff options
context:
space:
mode:
authorshadchin <shadchin@openbsd.org>2014-05-14 18:14:09 +0000
committershadchin <shadchin@openbsd.org>2014-05-14 18:14:09 +0000
commit8cb0b11aadf52ae766e0e6cfdcc28c332bf1eb23 (patch)
tree96cc992115ed4e83c3dd4948150941b01f1779b1 /usr.sbin/wsmoused
parentwsmoused() called if cmd == WSDISPLAYIO_WSMOUSED only, (diff)
downloadwireguard-openbsd-8cb0b11aadf52ae766e0e6cfdcc28c332bf1eb23.tar.xz
wireguard-openbsd-8cb0b11aadf52ae766e0e6cfdcc28c332bf1eb23.zip
Remove unused variables.
ok miod@
Diffstat (limited to 'usr.sbin/wsmoused')
-rw-r--r--usr.sbin/wsmoused/wsmoused.c4
-rw-r--r--usr.sbin/wsmoused/wsmoused.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/wsmoused/wsmoused.c b/usr.sbin/wsmoused/wsmoused.c
index 2009ccd98b0..c060ae855bb 100644
--- a/usr.sbin/wsmoused/wsmoused.c
+++ b/usr.sbin/wsmoused/wsmoused.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmoused.c,v 1.29 2013/11/24 01:06:19 deraadt Exp $ */
+/* $OpenBSD: wsmoused.c,v 1.30 2014/05/14 18:14:09 shadchin Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
@@ -93,8 +93,6 @@ mouse_t mouse = {
.old_baudrate = 1200,
.rate = MOUSE_RATE_UNKNOWN,
.resolution = MOUSE_RES_UNKNOWN,
- .zmap = 0,
- .wmode = 0,
.mfd = -1,
.clickthreshold = 500, /* 0.5 sec */
};
diff --git a/usr.sbin/wsmoused/wsmoused.h b/usr.sbin/wsmoused/wsmoused.h
index c42c564071c..192e4fb1539 100644
--- a/usr.sbin/wsmoused/wsmoused.h
+++ b/usr.sbin/wsmoused/wsmoused.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmoused.h,v 1.8 2009/06/21 16:13:18 jacekm Exp $ */
+/* $OpenBSD: wsmoused.h,v 1.9 2014/05/14 18:14:09 shadchin Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
@@ -102,8 +102,6 @@ typedef struct mouse_s {
int old_baudrate;
unsigned char rate; /* report rate */
unsigned int resolution; /* MOUSE_RES_XXX or a positive number */
- int zmap; /* MOUSE_{X|Y}AXIS or a button number */
- int wmode; /* wheel mode button number */
int mfd; /* mouse file descriptor */
int cfd; /* console file descriptor */
long clickthreshold; /* double click speed in msec */