removed get_channel function

This commit is contained in:
nion@noname 2006-01-29 17:04:53 +01:00
parent 3b90ed7d72
commit 25b4d453d0

7
ii.c
View File

@ -89,13 +89,6 @@ static void create_filepath(char *filepath, size_t len, char *channel, char *suf
} }
} }
static Channel *get_channel(int fd)
{
Channel *c;
for (c = channels; c && c->fd != fd; c = c->next);
return c;
}
static int open_channel(char *name) static int open_channel(char *name)
{ {
static char infile[256]; static char infile[256];