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
This commit is contained in:
Kevin P. Fleming
2006-04-08 22:01:19 +00:00
parent 1bba6ec6fc
commit f10f427d49
161 changed files with 329 additions and 334 deletions

View File

@@ -165,7 +165,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
return "A-law and Mulaw direct Coder/Decoder";
}
@@ -175,7 +175,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -401,7 +401,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
return "Adaptive Differential PCM Coder/Decoder";
}
@@ -411,7 +411,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -182,7 +182,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
return "A-law Coder/Decoder";
}
@@ -192,7 +192,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -326,7 +326,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
#ifdef ANNEX_B
return "Annex B (floating point) G.723.1/PCM16 Codec Translator";
@@ -341,7 +341,7 @@ int usecount(void)
return me.usecnt;
}
char *key(void)
const char *key(void)
{
return ASTERISK_GPL_KEY;
}

View File

@@ -853,7 +853,7 @@ int load_module (void)
return res;
}
char *description (void)
const char *description(void)
{
return "ITU G.726-32kbps G726 Transcoder";
}
@@ -863,7 +863,7 @@ int usecount (void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -283,7 +283,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
return "GSM/PCM16 (signed linear) Codec Translator";
}
@@ -293,7 +293,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -240,7 +240,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
return tdesc;
}
@@ -250,7 +250,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -321,7 +321,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
return "LPC10 2.4kbps (signed linear) Voice Coder";
}
@@ -331,7 +331,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -518,7 +518,7 @@ int load_module(void)
return res;
}
char *description(void)
const char *description(void)
{
return "Speex/PCM16 (signed linear) Codec Translator";
}
@@ -528,7 +528,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}

View File

@@ -198,7 +198,7 @@ int load_module(void)
* Return a description of this module.
*/
char *description(void)
const char *description(void)
{
return "Mu-law Coder/Decoder";
}
@@ -208,7 +208,7 @@ int usecount(void)
return me.usecnt;
}
char *key()
const char *key()
{
return ASTERISK_GPL_KEY;
}