From f10f427d49378e3a038ab65af8339c392d1dc799 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sat, 8 Apr 2006 22:01:19 +0000 Subject: since the module API is changing, it's a good time to const-ify the description() and key() return values git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- formats/format_g723.c | 4 ++-- formats/format_g726.c | 4 ++-- formats/format_g729.c | 4 ++-- formats/format_gsm.c | 4 ++-- formats/format_h263.c | 4 ++-- formats/format_h264.c | 4 ++-- formats/format_ilbc.c | 4 ++-- formats/format_jpeg.c | 4 ++-- formats/format_ogg_vorbis.c | 4 ++-- formats/format_pcm.c | 4 ++-- formats/format_sln.c | 4 ++-- formats/format_vox.c | 4 ++-- formats/format_wav.c | 4 ++-- formats/format_wav_gsm.c | 4 ++-- 14 files changed, 28 insertions(+), 28 deletions(-) (limited to 'formats') diff --git a/formats/format_g723.c b/formats/format_g723.c index 7ddc79b04..594f3d1c0 100644 --- a/formats/format_g723.c +++ b/formats/format_g723.c @@ -168,12 +168,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "G.723.1 Simple Timestamp File Format"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_g726.c b/formats/format_g726.c index 01b94c07f..135e0a8fe 100644 --- a/formats/format_g726.c +++ b/formats/format_g726.c @@ -288,12 +288,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw G.726 (16/24/32/40kbps) data"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_g729.c b/formats/format_g729.c index fc1e3e334..f2eef83e4 100644 --- a/formats/format_g729.c +++ b/formats/format_g729.c @@ -164,12 +164,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw G729 data"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_gsm.c b/formats/format_gsm.c index 3a27a11fb..bc91d1f0b 100644 --- a/formats/format_gsm.c +++ b/formats/format_gsm.c @@ -186,12 +186,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw GSM data"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_h263.c b/formats/format_h263.c index fa5b5c60b..ee455beb3 100644 --- a/formats/format_h263.c +++ b/formats/format_h263.c @@ -195,12 +195,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw h263 data"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_h264.c b/formats/format_h264.c index 5beb826ec..3e358086e 100644 --- a/formats/format_h264.c +++ b/formats/format_h264.c @@ -188,12 +188,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw h264 data"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_ilbc.c b/formats/format_ilbc.c index daaab3937..2a027cb99 100644 --- a/formats/format_ilbc.c +++ b/formats/format_ilbc.c @@ -163,12 +163,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw iLBC data"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c index 96fed0dea..01f4d929a 100644 --- a/formats/format_jpeg.c +++ b/formats/format_jpeg.c @@ -132,13 +132,13 @@ int usecount() return 0; } -char *description() +const char *description() { return desc; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_ogg_vorbis.c b/formats/format_ogg_vorbis.c index a8274cb70..2ca0cce34 100644 --- a/formats/format_ogg_vorbis.c +++ b/formats/format_ogg_vorbis.c @@ -557,13 +557,13 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "OGG/Vorbis audio"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_pcm.c b/formats/format_pcm.c index 4624de518..493d8afe9 100644 --- a/formats/format_pcm.c +++ b/formats/format_pcm.c @@ -487,12 +487,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw/Sun uLaw/ALaw 8khz Audio support (PCM,PCMA,AU)"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_sln.c b/formats/format_sln.c index 98a9ad5f5..939a121bb 100644 --- a/formats/format_sln.c +++ b/formats/format_sln.c @@ -146,12 +146,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Raw Signed Linear Audio support (SLN)"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_vox.c b/formats/format_vox.c index 2bd8b3650..5afc1e322 100644 --- a/formats/format_vox.c +++ b/formats/format_vox.c @@ -151,12 +151,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Dialogic VOX (ADPCM) File Format"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_wav.c b/formats/format_wav.c index f46d75b1b..f56cdae4d 100644 --- a/formats/format_wav.c +++ b/formats/format_wav.c @@ -532,12 +532,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Microsoft WAV format (8000hz Signed Linear)"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } diff --git a/formats/format_wav_gsm.c b/formats/format_wav_gsm.c index 888a96020..85b9902c7 100644 --- a/formats/format_wav_gsm.c +++ b/formats/format_wav_gsm.c @@ -534,12 +534,12 @@ int usecount() return me.usecnt; } -char *description() +const char *description() { return "Microsoft WAV format (Proprietary GSM)"; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } -- cgit v1.2.3