aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_oss.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-21 06:30:23 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-04-21 06:30:23 +0000
commitbef71744f4685c36a2c2db1af2d9d97a1abca305 (patch)
tree32ef323c5510fa3321c859182f59030f2c675829 /channels/chan_oss.c
parent31e8dcf4fe91466bf35a3f6d4de2bd714c43b288 (diff)
fix various compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5491 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_oss.c')
-rwxr-xr-xchannels/chan_oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index 809fdba08..f52da8b73 100755
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -119,7 +119,7 @@ static struct chan_oss_pvt {
static struct ast_channel *oss_request(const char *type, int format, void *data, int *cause);
static int oss_digit(struct ast_channel *c, char digit);
-static int oss_text(struct ast_channel *c, char *text);
+static int oss_text(struct ast_channel *c, const char *text);
static int oss_hangup(struct ast_channel *c);
static int oss_answer(struct ast_channel *c);
static struct ast_frame *oss_read(struct ast_channel *chan);
@@ -484,7 +484,7 @@ static int oss_digit(struct ast_channel *c, char digit)
return 0;
}
-static int oss_text(struct ast_channel *c, char *text)
+static int oss_text(struct ast_channel *c, const char *text)
{
ast_verbose( " << Console Received text %s >> \n", text);
return 0;