[asterisk-commits] trunk r18572 - /trunk/res/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Apr 8 15:16:39 MST 2006


Author: kpfleming
Date: Sat Apr  8 17:16:34 2006
New Revision: 18572

URL: http://svn.digium.com/view/asterisk?rev=18572&view=rev
Log:
a few cleanups from the last commit

Modified:
    trunk/res/res_adsi.c
    trunk/res/res_agi.c
    trunk/res/res_clioriginate.c
    trunk/res/res_config_odbc.c
    trunk/res/res_config_pgsql.c
    trunk/res/res_convert.c
    trunk/res/res_crypto.c
    trunk/res/res_features.c
    trunk/res/res_indications.c

Modified: trunk/res/res_adsi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_adsi.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_adsi.c (original)
+++ trunk/res/res_adsi.c Sat Apr  8 17:16:34 2006
@@ -1125,7 +1125,7 @@
 	return -1;
 }
 
-const const char *description(void)
+const char *description(void)
 {
 	return "ADSI Resource";
 }
@@ -1136,7 +1136,7 @@
 	return 1;
 }
 
-const const char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Sat Apr  8 17:16:34 2006
@@ -2051,7 +2051,7 @@
 	return ast_register_application(app, agi_exec, synopsis, descrip);
 }
 
-const const char *description(void)
+const char *description(void)
 {
 	return tdesc;
 }
@@ -2063,7 +2063,7 @@
 	return res;
 }
 
-const const char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_clioriginate.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_clioriginate.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_clioriginate.c (original)
+++ trunk/res/res_clioriginate.c Sat Apr  8 17:16:34 2006
@@ -175,7 +175,7 @@
 	return ast_cli_register(&cli_orig);
 }
 
-const const char *description(void)
+const char *description(void)
 {
 	return tdesc;
 }
@@ -185,7 +185,7 @@
 	return 0;
 }
 
-const const char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_config_odbc.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_odbc.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_config_odbc.c (original)
+++ trunk/res/res_config_odbc.c Sat Apr  8 17:16:34 2006
@@ -525,7 +525,7 @@
 	return 0;
 }
 
-char *description (void)
+const char *description(void)
 {
 	return tdesc;
 }
@@ -536,7 +536,7 @@
 	return 1;
 }
 
-char *key ()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_config_pgsql.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_pgsql.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_config_pgsql.c (original)
+++ trunk/res/res_config_pgsql.c Sat Apr  8 17:16:34 2006
@@ -673,7 +673,7 @@
 	return 1;
 }
 
-char *description (void)
+const char *description(void)
 {
 	return res_config_pgsql_desc;
 }
@@ -689,7 +689,7 @@
 	return 0;
 }
 
-char *key ()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_convert.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_convert.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_convert.c (original)
+++ trunk/res/res_convert.c Sat Apr  8 17:16:34 2006
@@ -144,7 +144,7 @@
 	return ast_cli_register(&audio_convert_cli);
 }
 
-const const char *description(void)
+const char *description(void)
 {
 	return desc;
 }
@@ -158,7 +158,7 @@
 	return res;
 }
 
-const const char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_crypto.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_crypto.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_crypto.c (original)
+++ trunk/res/res_crypto.c Sat Apr  8 17:16:34 2006
@@ -603,7 +603,7 @@
 	return -1;
 }
 
-const const char *description(void)
+const char *description(void)
 {
 	return "Cryptographic Digital Signatures";
 }
@@ -614,7 +614,7 @@
 	return 1;
 }
 
-const const char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Sat Apr  8 17:16:34 2006
@@ -2242,7 +2242,7 @@
 	return ast_unregister_application(parkedcall);
 }
 
-const const char *description(void)
+const char *description(void)
 {
 	return "Call Features Resource";
 }
@@ -2260,7 +2260,7 @@
 #endif
 }
 
-const const char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }

Modified: trunk/res/res_indications.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_indications.c?rev=18572&r1=18571&r2=18572&view=diff
==============================================================================
--- trunk/res/res_indications.c (original)
+++ trunk/res/res_indications.c Sat Apr  8 17:16:34 2006
@@ -400,7 +400,7 @@
 	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 @@
 	return 0;
 }
 
-const const char *key()
+const char *key()
 {
 	return ASTERISK_GPL_KEY;
 }



More information about the asterisk-commits mailing list