summaryrefslogtreecommitdiff
path: root/main/utils.c
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2013-08-16 12:20:59 +0000
committerKinsey Moore <kmoore@digium.com>2013-08-16 12:20:59 +0000
commita4ffa9f72b3ae9d26d8b190fd05f4f21c6c3544b (patch)
tree5e14bcde56768305b141100aba845027d7838fa9 /main/utils.c
parentc43e19e8e5fc5bc133f2ce3eeafbf9ce07048bd1 (diff)
Improve sounds indexer CLI commands
This reworks the CLI commands used to access sounds information from "sounds show[ soundid]" to "core show sounds" and "core show sound <soundid>". This also reworks the "sounds reload" CLI command to fall under normal module reloading ("module reload sounds"). Also, make trunk build when DEBUG_MALLOC is not enabled. Review: https://reviewboard.asterisk.org/r/2745/ (closes issue ASTERISK-22141) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/utils.c b/main/utils.c
index ed0e4bbef..60071952d 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -74,7 +74,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
static char base64[64];
static char b2a[256];
+#ifndef __AST_DEBUG_MALLOC
void *_ast_mem_backtrace_buffer[_AST_MEM_BACKTRACE_BUFLEN];
+#endif
AST_THREADSTORAGE(inet_ntoa_buf);