aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 14:18:43 +0000
committerrsc <devnull@localhost>2005-07-13 14:18:43 +0000
commitd4780b1c14a0107872cbf7b1999170be615fe791 (patch)
tree7d1a31c2a183d9f5dd570d926abe4f8790572bdf /src/cmd/rio
parent35ed6913ebd469a0e11458a31eaa78204e9e135c (diff)
downloadplan9port-d4780b1c14a0107872cbf7b1999170be615fe791.tar.gz
plan9port-d4780b1c14a0107872cbf7b1999170be615fe791.tar.bz2
plan9port-d4780b1c14a0107872cbf7b1999170be615fe791.zip
warnings
Diffstat (limited to 'src/cmd/rio')
-rw-r--r--src/cmd/rio/event.c2
-rw-r--r--src/cmd/rio/key.c8
2 files changed, 3 insertions, 7 deletions
diff --git a/src/cmd/rio/event.c b/src/cmd/rio/event.c
index e4f3f692..893693bc 100644
--- a/src/cmd/rio/event.c
+++ b/src/cmd/rio/event.c
@@ -15,9 +15,7 @@ void
mainloop(int shape_event)
{
XEvent ev;
- XKeyEvent *ke;
-Top:
for(;;){
getevent(&ev);
diff --git a/src/cmd/rio/key.c b/src/cmd/rio/key.c
index 38e1bf83..bff0d14d 100644
--- a/src/cmd/rio/key.c
+++ b/src/cmd/rio/key.c
@@ -18,12 +18,10 @@ enum
};
static int tabcode = 0x17;
-static int altcode = 0x40;
-static int pgupcode = 0x63;
-static int pgdowncode = 0x69;
+//static int altcode = 0x40;
+//static int pgupcode = 0x63;
+//static int pgdowncode = 0x69;
-static void altpress(void);
-static void altrelease(void);
static void alttab(int shift);
void