aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_realtime.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-08 22:01:19 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-08 22:01:19 +0000
commite4880150b1746ede7bd3c9e0f8fb88901a8c562b (patch)
treeb11d36d1b949f3ff1bc79f71f06c04c8f6c72f71 /pbx/pbx_realtime.c
parentf1822bc2a6fdfea0a2fa629a0dc70336f22af185 (diff)
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
Diffstat (limited to 'pbx/pbx_realtime.c')
-rw-r--r--pbx/pbx_realtime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c
index 0ec8c538d..04d6fd0bd 100644
--- a/pbx/pbx_realtime.c
+++ b/pbx/pbx_realtime.c
@@ -246,7 +246,7 @@ static struct ast_switch realtime_switch =
matchmore: realtime_matchmore,
};
-char *description(void)
+const char *description(void)
{
return tdesc;
}
@@ -256,7 +256,7 @@ int usecount(void)
return 1;
}
-char *key()
+const char *key()
{
return ASTERISK_GPL_KEY;
}