aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_db.c')
-rw-r--r--apps/app_db.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/app_db.c b/apps/app_db.c
index 963eaaa77..38b7c6ade 100644
--- a/apps/app_db.c
+++ b/apps/app_db.c
@@ -48,8 +48,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h"
#include "asterisk/options.h"
-static char *tdesc = "Database Access Functions";
-
static char *d_descrip =
" DBdel(family/key): This applicaiton will delete a key from the Asterisk\n"
"database.\n";
@@ -169,7 +167,7 @@ int load_module(void)
const char *description(void)
{
- return tdesc;
+ return "Database Access Functions";
}
int usecount(void)
@@ -179,7 +177,7 @@ int usecount(void)
return res;
}
-const char *key()
+const char *key(void)
{
return ASTERISK_GPL_KEY;
}