ast_cli(fd, "none");
}
-static char *_skinny_show_devices(int fd, int *total, struct mansession *s, const struct message *m, int argc, const char *argv[])
+static char *_skinny_show_devices(int fd, int *total, struct mansession *s, const struct message *m, int argc, const char * const *argv)
{
struct skinny_device *d;
struct skinny_line *l;
return NULL;
}
- return _skinny_show_devices(a->fd, NULL, NULL, NULL, a->argc, (const char **) a->argv);
+ return _skinny_show_devices(a->fd, NULL, NULL, NULL, a->argc, a->argv);
}
-static char *_skinny_show_device(int type, int fd, struct mansession *s, const struct message *m, int argc, const char *argv[])
+static char *_skinny_show_device(int type, int fd, struct mansession *s, const struct message *m, int argc, const char * const *argv)
{
struct skinny_device *d;
struct skinny_line *l;
return complete_skinny_show_device(a->line, a->word, a->pos, a->n);
}
- return _skinny_show_device(0, a->fd, NULL, NULL, a->argc, (const char **) a->argv);
+ return _skinny_show_device(0, a->fd, NULL, NULL, a->argc, a->argv);
}
-static char *_skinny_show_lines(int fd, int *total, struct mansession *s, const struct message *m, int argc, const char *argv[])
+static char *_skinny_show_lines(int fd, int *total, struct mansession *s, const struct message *m, int argc, const char * const *argv)
{
struct skinny_line *l;
struct skinny_subchannel *sub;
return CLI_SHOWUSAGE;
}
- return _skinny_show_lines(a->fd, NULL, NULL, NULL, a->argc, (const char **) a->argv);
+ return _skinny_show_lines(a->fd, NULL, NULL, NULL, a->argc, a->argv);
}
-static char *_skinny_show_line(int type, int fd, struct mansession *s, const struct message *m, int argc, const char *argv[])
+static char *_skinny_show_line(int type, int fd, struct mansession *s, const struct message *m, int argc, const char * const *argv)
{
struct skinny_device *d;
struct skinny_line *l;
return complete_skinny_show_line(a->line, a->word, a->pos, a->n);
}
- return _skinny_show_line(0, a->fd, NULL, NULL, a->argc, (const char **) a->argv);
+ return _skinny_show_line(0, a->fd, NULL, NULL, a->argc, a->argv);
}
/*! \brief List global settings for the Skinny subsystem. */