From e4880150b1746ede7bd3c9e0f8fb88901a8c562b Mon Sep 17 00:00:00 2001 From: kpfleming 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: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_indications.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/res_indications.c') diff --git a/res/res_indications.c b/res/res_indications.c index cb3a766ec..38657535b 100644 --- a/res/res_indications.c +++ b/res/res_indications.c @@ -400,7 +400,7 @@ int reload(void) return ind_load_module(); } -char *description(void) +const const char *description(void) { /* that the following cast is needed, is yuk! */ return (char*)dtext; @@ -411,7 +411,7 @@ int usecount(void) return 0; } -char *key() +const const char *key() { return ASTERISK_GPL_KEY; } -- cgit v1.2.3