Staticize one, and Constify a bunch of usage strings for CLI commands.
[asterisk/asterisk.git] / main / db.c
index dfadac0..34ebfac 100644 (file)
--- a/main/db.c
+++ b/main/db.c
@@ -467,31 +467,31 @@ void ast_db_freetree(struct ast_db_entry *dbe)
        }
 }
 
-static char database_show_usage[] =
+static const char database_show_usage[] =
 "Usage: database show [family [keytree]]\n"
 "       Shows Asterisk database contents, optionally restricted\n"
 "to a given family, or family and keytree.\n";
 
-static char database_showkey_usage[] =
+static const char database_showkey_usage[] =
 "Usage: database showkey <keytree>\n"
 "       Shows Asterisk database contents, restricted to a given key.\n";
 
-static char database_put_usage[] =
+static const char database_put_usage[] =
 "Usage: database put <family> <key> <value>\n"
 "       Adds or updates an entry in the Asterisk database for\n"
 "a given family, key, and value.\n";
 
-static char database_get_usage[] =
+static const char database_get_usage[] =
 "Usage: database get <family> <key>\n"
 "       Retrieves an entry in the Asterisk database for a given\n"
 "family and key.\n";
 
-static char database_del_usage[] =
+static const char database_del_usage[] =
 "Usage: database del <family> <key>\n"
 "       Deletes an entry in the Asterisk database for a given\n"
 "family and key.\n";
 
-static char database_deltree_usage[] =
+static const char database_deltree_usage[] =
 "Usage: database deltree <family> [keytree]\n"
 "       Deletes a family or specific keytree within a family\n"
 "in the Asterisk database.\n";