From 699f55071b33f6551bc7cb511e6d0f2ab7dfe6be Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Sat, 8 Apr 2006 22:16:34 +0000 Subject: [PATCH] a few cleanups from the last commit git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18572 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_adsi.c | 4 ++-- res/res_agi.c | 4 ++-- res/res_clioriginate.c | 4 ++-- res/res_config_odbc.c | 4 ++-- res/res_config_pgsql.c | 4 ++-- res/res_convert.c | 4 ++-- res/res_crypto.c | 4 ++-- res/res_features.c | 4 ++-- res/res_indications.c | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/res/res_adsi.c b/res/res_adsi.c index 258ac3dfb2..ca0da1f363 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 5c9e0572e3..8ff47e2616 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 aff7ed0b13..3b189cf8ac 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 933cba28a1..febf839c5f 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 654777949b..6dbf8ab0fa 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 9a1fac676b..eea93f8380 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 5c5d5c7c49..accabd16b5 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 b3013d563c..ee3da34c10 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 38657535b7..8e468c38a8 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; }