aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-08 22:16:34 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-08 22:16:34 +0000
commitc70f89e9c8742b78fcaf274a8061c1674054c663 (patch)
tree816d5b94316a62d0f8993a2e892418f2efb6cdd7
parente4880150b1746ede7bd3c9e0f8fb88901a8c562b (diff)
a few cleanups from the last commit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18572 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_adsi.c4
-rw-r--r--res/res_agi.c4
-rw-r--r--res/res_clioriginate.c4
-rw-r--r--res/res_config_odbc.c4
-rw-r--r--res/res_config_pgsql.c4
-rw-r--r--res/res_convert.c4
-rw-r--r--res/res_crypto.c4
-rw-r--r--res/res_features.c4
-rw-r--r--res/res_indications.c4
9 files changed, 18 insertions, 18 deletions
diff --git a/res/res_adsi.c b/res/res_adsi.c
index 258ac3dfb..ca0da1f36 100644
--- a/res/res_adsi.c
+++ b/res/res_adsi.c
@@ -1125,7 +1125,7 @@ int unload_module(void)
return -1;
}
-const const char *description(void)
+const char *description(void)
{
return "ADSI Resource";
}
@@ -1136,7 +1136,7 @@ int usecount(void)
return 1;
}
-const const char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_agi.c b/res/res_agi.c
index 5c9e0572e..8ff47e261 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -2051,7 +2051,7 @@ int load_module(void)
return ast_register_application(app, agi_exec, synopsis, descrip);
}
-const const char *description(void)
+const char *description(void)
{
return tdesc;
}
@@ -2063,7 +2063,7 @@ int usecount(void)
return res;
}
-const const char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_clioriginate.c b/res/res_clioriginate.c
index aff7ed0b1..3b189cf8a 100644
--- a/res/res_clioriginate.c
+++ b/res/res_clioriginate.c
@@ -175,7 +175,7 @@ int load_module(void)
return ast_cli_register(&cli_orig);
}
-const const char *description(void)
+const char *description(void)
{
return tdesc;
}
@@ -185,7 +185,7 @@ int usecount(void)
return 0;
}
-const const char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c
index 933cba28a..febf839c5 100644
--- a/res/res_config_odbc.c
+++ b/res/res_config_odbc.c
@@ -525,7 +525,7 @@ int load_module (void)
return 0;
}
-char *description (void)
+const char *description(void)
{
return tdesc;
}
@@ -536,7 +536,7 @@ int usecount (void)
return 1;
}
-char *key ()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c
index 654777949..6dbf8ab0f 100644
--- a/res/res_config_pgsql.c
+++ b/res/res_config_pgsql.c
@@ -673,7 +673,7 @@ int parse_config (void)
return 1;
}
-char *description (void)
+const char *description(void)
{
return res_config_pgsql_desc;
}
@@ -689,7 +689,7 @@ int usecount (void)
return 0;
}
-char *key ()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_convert.c b/res/res_convert.c
index 9a1fac676..eea93f838 100644
--- a/res/res_convert.c
+++ b/res/res_convert.c
@@ -144,7 +144,7 @@ int load_module(void)
return ast_cli_register(&audio_convert_cli);
}
-const const char *description(void)
+const char *description(void)
{
return desc;
}
@@ -158,7 +158,7 @@ int usecount(void)
return res;
}
-const const char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_crypto.c b/res/res_crypto.c
index 5c5d5c7c4..accabd16b 100644
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -603,7 +603,7 @@ int unload_module(void)
return -1;
}
-const const char *description(void)
+const char *description(void)
{
return "Cryptographic Digital Signatures";
}
@@ -614,7 +614,7 @@ int usecount(void)
return 1;
}
-const const char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_features.c b/res/res_features.c
index b3013d563..ee3da34c1 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -2242,7 +2242,7 @@ int unload_module(void)
return ast_unregister_application(parkedcall);
}
-const const char *description(void)
+const char *description(void)
{
return "Call Features Resource";
}
@@ -2260,7 +2260,7 @@ int usecount(void)
#endif
}
-const const char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}
diff --git a/res/res_indications.c b/res/res_indications.c
index 38657535b..8e468c38a 100644
--- a/res/res_indications.c
+++ b/res/res_indications.c
@@ -400,7 +400,7 @@ int reload(void)
return ind_load_module();
}
-const const char *description(void)
+const char *description(void)
{
/* that the following cast is needed, is yuk! */
return (char*)dtext;
@@ -411,7 +411,7 @@ int usecount(void)
return 0;
}
-const const char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}