c was of type char, while getopt returns an int. This
caused a compiler warning during build.
struct channel *channel;
struct option *option;
struct output *op;
struct channel *channel;
struct option *option;
struct output *op;
- int ret;
- char c, *opt_infile, **kv, **opstr;
+ int ret, c;
+ char *opt_infile, **kv, **opstr;
op = malloc(sizeof(struct output));
op->pd = NULL;
op = malloc(sizeof(struct output));
op->pd = NULL;