[asterisk-commits] mmichelson: branch 1.4 r139521 - /branches/1.4/main/frame.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 22 14:23:03 CDT 2008
Author: mmichelson
Date: Fri Aug 22 14:23:02 2008
New Revision: 139521
URL: http://svn.digium.com/view/asterisk?view=rev&rev=139521
Log:
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
Modified:
branches/1.4/main/frame.c
Modified: branches/1.4/main/frame.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/frame.c?view=diff&rev=139521&r1=139520&r2=139521
==============================================================================
--- branches/1.4/main/frame.c (original)
+++ branches/1.4/main/frame.c Fri Aug 22 14:23:02 2008
@@ -932,23 +932,6 @@
#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;
More information about the asterisk-commits
mailing list