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 */