summaryrefslogtreecommitdiff
path: root/channels/chan_oss.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-04-21 06:30:23 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-04-21 06:30:23 +0000
commita729a57ba121061fd42f5dd4f557ed1f18d6dc99 (patch)
tree32ef323c5510fa3321c859182f59030f2c675829 /channels/chan_oss.c
parent1f9ab2380a4543526bbd20e0fa754de95747c77e (diff)
fix various compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;