aboutsummaryrefslogtreecommitdiffstats
path: root/formats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-13 16:13:07 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-13 16:13:07 +0000
commit9e076dc898c23c4b6f88705c9fab822aa1a11056 (patch)
treed42acc06b937b300fa78849e43034c43d9efe96b /formats
parent186326097344b69a46c5b7e775f2040b81fe1d74 (diff)
Updates from char * to const char * + german syntax + enumeration (bug #2780)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4229 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats')
-rwxr-xr-xformats/format_g723.c2
-rwxr-xr-xformats/format_g726.c8
-rwxr-xr-xformats/format_g729.c2
-rwxr-xr-xformats/format_gsm.c2
-rwxr-xr-xformats/format_h263.c2
-rwxr-xr-xformats/format_ilbc.c2
-rwxr-xr-xformats/format_pcm.c2
-rwxr-xr-xformats/format_pcm_alaw.c2
-rwxr-xr-xformats/format_sln.c2
-rwxr-xr-xformats/format_vox.c2
-rwxr-xr-xformats/format_wav.c2
-rwxr-xr-xformats/format_wav_gsm.c2
12 files changed, 15 insertions, 15 deletions
diff --git a/formats/format_g723.c b/formats/format_g723.c
index 955ce5916..3687773e7 100755
--- a/formats/format_g723.c
+++ b/formats/format_g723.c
@@ -78,7 +78,7 @@ static struct ast_filestream *g723_open(int fd)
return tmp;
}
-static struct ast_filestream *g723_rewrite(int fd, char *comment)
+static struct ast_filestream *g723_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_g726.c b/formats/format_g726.c
index 9788a28b4..172b4cd41 100755
--- a/formats/format_g726.c
+++ b/formats/format_g726.c
@@ -198,7 +198,7 @@ static struct ast_filestream *g726_16_open(int fd)
return tmp;
}
-static struct ast_filestream *g726_40_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_40_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -224,7 +224,7 @@ static struct ast_filestream *g726_40_rewrite(int fd, char *comment)
return tmp;
}
-static struct ast_filestream *g726_32_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_32_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -250,7 +250,7 @@ static struct ast_filestream *g726_32_rewrite(int fd, char *comment)
return tmp;
}
-static struct ast_filestream *g726_24_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_24_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
@@ -276,7 +276,7 @@ static struct ast_filestream *g726_24_rewrite(int fd, char *comment)
return tmp;
}
-static struct ast_filestream *g726_16_rewrite(int fd, char *comment)
+static struct ast_filestream *g726_16_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 746874d7d..be41781dd 100755
--- a/formats/format_g729.c
+++ b/formats/format_g729.c
@@ -82,7 +82,7 @@ static struct ast_filestream *g729_open(int fd)
return tmp;
}
-static struct ast_filestream *g729_rewrite(int fd, char *comment)
+static struct ast_filestream *g729_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_gsm.c b/formats/format_gsm.c
index f4b5aa189..a51ee0262 100755
--- a/formats/format_gsm.c
+++ b/formats/format_gsm.c
@@ -91,7 +91,7 @@ static struct ast_filestream *gsm_open(int fd)
return tmp;
}
-static struct ast_filestream *gsm_rewrite(int fd, char *comment)
+static struct ast_filestream *gsm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_h263.c b/formats/format_h263.c
index 1482e5b5d..d2e2e76e5 100755
--- a/formats/format_h263.c
+++ b/formats/format_h263.c
@@ -90,7 +90,7 @@ static struct ast_filestream *h263_open(int fd)
return tmp;
}
-static struct ast_filestream *h263_rewrite(int fd, char *comment)
+static struct ast_filestream *h263_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_ilbc.c b/formats/format_ilbc.c
index 61b9d5958..5b47ddc67 100755
--- a/formats/format_ilbc.c
+++ b/formats/format_ilbc.c
@@ -84,7 +84,7 @@ static struct ast_filestream *ilbc_open(int fd)
return tmp;
}
-static struct ast_filestream *ilbc_rewrite(int fd, char *comment)
+static struct ast_filestream *ilbc_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_pcm.c b/formats/format_pcm.c
index a3ad65143..3e037ca95 100755
--- a/formats/format_pcm.c
+++ b/formats/format_pcm.c
@@ -80,7 +80,7 @@ static struct ast_filestream *pcm_open(int fd)
return tmp;
}
-static struct ast_filestream *pcm_rewrite(int fd, char *comment)
+static struct ast_filestream *pcm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_pcm_alaw.c b/formats/format_pcm_alaw.c
index eda446ca4..d828aedcc 100755
--- a/formats/format_pcm_alaw.c
+++ b/formats/format_pcm_alaw.c
@@ -108,7 +108,7 @@ static struct ast_filestream *pcm_open(int fd)
return tmp;
}
-static struct ast_filestream *pcm_rewrite(int fd, char *comment)
+static struct ast_filestream *pcm_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_sln.c b/formats/format_sln.c
index 7e77876b2..0a52c10f0 100755
--- a/formats/format_sln.c
+++ b/formats/format_sln.c
@@ -78,7 +78,7 @@ static struct ast_filestream *slinear_open(int fd)
return tmp;
}
-static struct ast_filestream *slinear_rewrite(int fd, char *comment)
+static struct ast_filestream *slinear_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_vox.c b/formats/format_vox.c
index 1a09dac52..78afc6598 100755
--- a/formats/format_vox.c
+++ b/formats/format_vox.c
@@ -85,7 +85,7 @@ static struct ast_filestream *vox_open(int fd)
return tmp;
}
-static struct ast_filestream *vox_rewrite(int fd, char *comment)
+static struct ast_filestream *vox_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_wav.c b/formats/format_wav.c
index 0e87f2de9..375553913 100755
--- a/formats/format_wav.c
+++ b/formats/format_wav.c
@@ -350,7 +350,7 @@ static struct ast_filestream *wav_open(int fd)
return tmp;
}
-static struct ast_filestream *wav_rewrite(int fd, char *comment)
+static struct ast_filestream *wav_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check
diff --git a/formats/format_wav_gsm.c b/formats/format_wav_gsm.c
index 9030f0398..c46c819dd 100755
--- a/formats/format_wav_gsm.c
+++ b/formats/format_wav_gsm.c
@@ -361,7 +361,7 @@ static struct ast_filestream *wav_open(int fd)
return tmp;
}
-static struct ast_filestream *wav_rewrite(int fd, char *comment)
+static struct ast_filestream *wav_rewrite(int fd, const char *comment)
{
/* We don't have any header to read or anything really, but
if we did, it would go here. We also might want to check