aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-22 19:23:02 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-22 19:23:02 +0000
commite3084e0771f6a5b17db2edd7ab7a39c4fce4761d (patch)
tree6736c89913046643de33cf0c7ecb5dda2cdd1e5e
parentae8d3c833f3142df992b5c12d6a2c61cadeb1124 (diff)
Remove show_frame_stats_deprecated since it is not
used anywhere and causes build errors if building under dev-mode with TRACE_FRAMES selected in menuselect. (closes issue #13362) Reported by: snuffy git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@139521 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/frame.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/main/frame.c b/main/frame.c
index 45dafeb3d..d64fa09a7 100644
--- a/main/frame.c
+++ b/main/frame.c
@@ -932,23 +932,6 @@ void ast_frame_dump(const char *name, struct ast_frame *f, char *prefix)
#ifdef TRACE_FRAMES
-static int show_frame_stats_deprecated(int fd, int argc, char *argv[])
-{
- struct ast_frame *f;
- int x=1;
- if (argc != 3)
- return RESULT_SHOWUSAGE;
- AST_LIST_LOCK(&headerlist);
- ast_cli(fd, " Framer Statistics \n");
- ast_cli(fd, "---------------------------\n");
- ast_cli(fd, "Total allocated headers: %d\n", headers);
- ast_cli(fd, "Queue Dump:\n");
- AST_LIST_TRAVERSE(&headerlist, f, frame_list)
- ast_cli(fd, "%d. Type %d, subclass %d from %s\n", x++, f->frametype, f->subclass, f->src ? f->src : "<Unknown>");
- AST_LIST_UNLOCK(&headerlist);
- return RESULT_SUCCESS;
-}
-
static int show_frame_stats(int fd, int argc, char *argv[])
{
struct ast_frame *f;