summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2013-02-27 20:31:56 +0000
committerRichard Mudgett <rmudgett@digium.com>2013-02-27 20:31:56 +0000
commitde9068129364a9c1e8766d3d10f027054a091b4d (patch)
tree9998bed01f6870ed5c1f23e5d7b9a5368270bbd0 /channels
parent31f08344eed9ab0020a35637b949d200b2644f01 (diff)
More places to eliminate the cast to argv but were not giving warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_skinny.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index c68925f99..c974caee8 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -4034,7 +4034,7 @@ static void print_codec_to_cli(int fd, struct ast_codec_pref *pref)
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;
@@ -4142,10 +4142,10 @@ static char *handle_skinny_show_devices(struct ast_cli_entry *e, int cmd, struct
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;
@@ -4282,10 +4282,10 @@ static char *handle_skinny_show_device(struct ast_cli_entry *e, int cmd, struct
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;
@@ -4406,10 +4406,10 @@ static char *handle_skinny_show_lines(struct ast_cli_entry *e, int cmd, struct a
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;
@@ -4593,7 +4593,7 @@ static char *handle_skinny_show_line(struct ast_cli_entry *e, int cmd, struct as
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. */