ape: remove unused variables from _buf (from erik qunastros _bufupd patch)
This commit is contained in:
parent
5dc9c7f443
commit
d1905d8063
1 changed files with 3 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue