From f10f427d49378e3a038ab65af8339c392d1dc799 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" 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: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'funcs/func_math.c') diff --git a/funcs/func_math.c b/funcs/func_math.c index 7ad4765c6..0928a2da4 100644 --- a/funcs/func_math.c +++ b/funcs/func_math.c @@ -259,7 +259,7 @@ int load_module(void) return ast_custom_function_register(&math_function); } -char *description(void) +const char *description(void) { return tdesc; } @@ -269,7 +269,7 @@ int usecount(void) return 0; } -char *key() +const char *key() { return ASTERISK_GPL_KEY; } -- cgit v1.2.3