summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/plan9/_buf.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-05-03 13:46:27 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-05-03 13:46:27 +0200
commitd1905d806330134d2fa65054d141cbc138d4fd9d (patch)
tree1697973a9d36d1127db1fb78f8ebe32ebcbcbc06 /sys/src/ape/lib/ap/plan9/_buf.c
parent5dc9c7f443dde75530ffe5e17c2bbef12f466f91 (diff)
ape: remove unused variables from _buf (from erik qunastros _bufupd patch)
Diffstat (limited to 'sys/src/ape/lib/ap/plan9/_buf.c')
-rw-r--r--sys/src/ape/lib/ap/plan9/_buf.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/src/ape/lib/ap/plan9/_buf.c b/sys/src/ape/lib/ap/plan9/_buf.c
index d3ed4e424..fe3588cb2 100644
--- a/sys/src/ape/lib/ap/plan9/_buf.c
+++ b/sys/src/ape/lib/ap/plan9/_buf.c
@@ -50,7 +50,7 @@ static int copynotehandler(void *, char *);
int
_startbuf(int fd)
{
- long i, n, slot;
+ long i, slot;
int pid, sid;
Fdinfo *f;
Muxbuf *b;
@@ -299,7 +299,7 @@ goteof:
int
select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout)
{
- int n, i, tmp, t, slots, fd, err;
+ int n, i, t, slots, fd, err;
Fdinfo *f;
Muxbuf *b;
@@ -412,7 +412,7 @@ static int timerreset;
static int timerpid;
static void
-alarmed(int v)
+alarmed(int)
{
timerreset = 1;
}
@@ -500,9 +500,6 @@ _detachbuf(void)
static int
copynotehandler(void *u, char *msg)
{
- int i;
- void(*f)(int);
-
if(_finishing)
_finish(0, 0);
_NOTED(1);