summaryrefslogtreecommitdiff
path: root/sys/src/cmd/proof/screen.c
diff options
context:
space:
mode:
authorftrvxmtrx <ftrvxmtrx@gmail.com>2016-11-17 02:59:40 +0100
committerftrvxmtrx <ftrvxmtrx@gmail.com>2016-11-17 02:59:40 +0100
commit0930f44febd25c27fb717e7323686e50c4fa0593 (patch)
tree397b0b732b628164fb078bdbe011a6ae453452a2 /sys/src/cmd/proof/screen.c
parentc0d0f86b14593bbf608284b96920558756a69304 (diff)
cmd: remove a bit of unused stuff
Diffstat (limited to 'sys/src/cmd/proof/screen.c')
-rw-r--r--sys/src/cmd/proof/screen.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/cmd/proof/screen.c b/sys/src/cmd/proof/screen.c
index f723e283d..31eac0e5a 100644
--- a/sys/src/cmd/proof/screen.c
+++ b/sys/src/cmd/proof/screen.c
@@ -123,14 +123,6 @@ getkbdstr(int c0)
#define butcvt(b) (1 << ((b) - 1))
-static int buttondown(void) /* report state of buttons, if any */
-{
- if (!ecanmouse()) /* no event pending */
- return 0;
- mouse = emouse(); /* something, but it could be motion */
- return mouse.buttons & 7;
-}
-
int waitdown(void) /* wait until some button is down */
{
while (!(mouse.buttons & 7))