lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [PATCH 1/2] lwip: stub out lwip_stats.pbuf references so sh


From: address@hidden
Subject: [lwip-users] [PATCH 1/2] lwip: stub out lwip_stats.pbuf references so shell builds
Date: Fri, 21 Sep 2007 02:16:16 +0000

lwip: stub out lwip_stats.pbuf references so shell builds
---
 user/e7/comms/lwip/apps/shell.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/user/e7/comms/lwip/apps/shell.c b/user/e7/comms/lwip/apps/shell.c
index d38c9ee..5f8ca91 100644
--- a/user/e7/comms/lwip/apps/shell.c
+++ b/user/e7/comms/lwip/apps/shell.c
@@ -160,12 +160,14 @@ static char *stat_msgs[STAT_NUM] = {
   "           * option errors ",
   "           * misc errors ",
   "           * cache hits ",  
+#if 0
   "Pbufs      * available ",
   "           * used ",
   "           * high water mark ",
   "           * errors ",
   "             pbuf_alloc() locked ",
   "             pbuf_refresh() locked ",
+#endif
   "Memory     * available ",
   "           * used ",
   "           * high water mark ",
@@ -318,11 +320,13 @@ static char *stat_formats[STAT_NUM] = {
   MEM_SIZE_F, /* mem used */
   MEM_SIZE_F, /* mem max */
   MEM_SIZE_F, /* mem err */
-  
+
+#if 0
   MEM_SIZE_F, /* memp pbuf avail */
   MEM_SIZE_F, /* memp pbuf used */
   MEM_SIZE_F, /* memp pbuf max */
   MEM_SIZE_F, /* memp pbuf err */
+#endif
 
   MEM_SIZE_F, /* memp raw pcb avail */
   MEM_SIZE_F, /* memp raw pcb used */
@@ -468,12 +472,14 @@ static void *stat_ptrs[STAT_NUM] = {
   &lwip_stats.tcp.err,
   &lwip_stats.tcp.cachehit,
 
+#if 0
   &lwip_stats.pbuf.avail,
   &lwip_stats.pbuf.used,
   &lwip_stats.pbuf.max,
   &lwip_stats.pbuf.err,
   &lwip_stats.pbuf.alloc_locked,
   &lwip_stats.pbuf.refresh_locked,
+#endif
 
   &lwip_stats.mem.avail,
   &lwip_stats.mem.used,
-- 
1.5.2.1







reply via email to

[Prev in Thread] Current Thread [Next in Thread]