From 5c05d427b0b75055c72178a86f6d12f92af503a6 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 5 Dec 2011 21:17:09 +0100 Subject: [PATCH] use const char for name pointers in display functions --- src/include/lwip/stats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/stats.h b/src/include/lwip/stats.h index 015b7ce7..1f5152a9 100644 --- a/src/include/lwip/stats.h +++ b/src/include/lwip/stats.h @@ -271,9 +271,9 @@ void stats_init(void); /* Display of statistics */ #if LWIP_STATS_DISPLAY void stats_display(void); -void stats_display_proto(struct stats_proto *proto, char *name); +void stats_display_proto(struct stats_proto *proto, const char *name); void stats_display_igmp(struct stats_igmp *igmp); -void stats_display_mem(struct stats_mem *mem, char *name); +void stats_display_mem(struct stats_mem *mem, const char *name); void stats_display_memp(struct stats_mem *mem, int index); void stats_display_sys(struct stats_sys *sys); #else /* LWIP_STATS_DISPLAY */