ref: d1905d806330134d2fa65054d141cbc138d4fd9d
parent: 5dc9c7f443dde75530ffe5e17c2bbef12f466f91
author: cinap_lenrek <[email protected]>
date: Fri May 3 09:46:27 EDT 2013
ape: remove unused variables from _buf (from erik qunastros _bufupd patch)
--- a/sys/src/ape/lib/ap/plan9/_buf.c
+++ b/sys/src/ape/lib/ap/plan9/_buf.c
@@ -50,7 +50,7 @@
int
_startbuf(int fd)
{
- long i, n, slot;
+ long i, slot;
int pid, sid;
Fdinfo *f;
Muxbuf *b;
@@ -299,7 +299,7 @@
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 timerpid;
static void
-alarmed(int v)
+alarmed(int)
{
timerreset = 1;
}
@@ -500,9 +500,6 @@
static int
copynotehandler(void *u, char *msg)
{
- int i;
- void(*f)(int);
-
if(_finishing)
_finish(0, 0);
_NOTED(1);