aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-20 17:27:51 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-20 17:27:51 +0000
commit7007891a03f9076f62b9b50685f9757eb8713cf6 (patch)
treef3a84fdbd555d47208133da09daeea5d8dc10581 /channels/chan_zap.c
parent660f427e657aa5c6e3d222a2e7707399ab18df26 (diff)
eliminate compiler warnings from recent const-ification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8338 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 8db68fed9..4e5110bec 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -9253,7 +9253,7 @@ static int start_pri(struct zt_pri *pri)
return 0;
}
-static char *complete_span_helper(char *line, char *word, int pos, int state, int rpos)
+static char *complete_span_helper(const char *line, const char *word, int pos, int state, int rpos)
{
int span=1;
char tmp[50];
@@ -9271,12 +9271,12 @@ static char *complete_span_helper(char *line, char *word, int pos, int state, in
return NULL;
}
-static char *complete_span_4(char *line, char *word, int pos, int state)
+static char *complete_span_4(const char *line, const char *word, int pos, int state)
{
return complete_span_helper(line,word,pos,state,3);
}
-static char *complete_span_5(char *line, char *word, int pos, int state)
+static char *complete_span_5(const char *line, const char *word, int pos, int state)
{
return complete_span_helper(line,word,pos,state,4);
}
@@ -9483,19 +9483,19 @@ static int handle_pri_show_debug(int fd, int argc, char *argv[])
return RESULT_SUCCESS;
}
-static char pri_debug_help[] =
+static const char pri_debug_help[] =
"Usage: pri debug span <span>\n"
" Enables debugging on a given PRI span\n";
-static char pri_no_debug_help[] =
+static const char pri_no_debug_help[] =
"Usage: pri no debug span <span>\n"
" Disables debugging on a given PRI span\n";
-static char pri_really_debug_help[] =
+static const char pri_really_debug_help[] =
"Usage: pri intensive debug span <span>\n"
" Enables debugging down to the Q.921 level\n";
-static char pri_show_span_help[] =
+static const char pri_show_span_help[] =
"Usage: pri show span <span>\n"
" Displays PRI Information\n";