/[lwip]/lwip/src/core/stats.c
ViewVC logotype

Diff of /lwip/src/core/stats.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jani, Wed Dec 18 10:40:01 2002 UTC revision 1.3 by jani, Wed Dec 18 12:49:02 2002 UTC
# Line 41  Line 41 
41    
42    
43  #ifdef STATS  #ifdef STATS
44  struct stats_ stats;  struct stats_ lwip_stats;
45  #endif /* STATS */  #endif /* STATS */
46  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/
47  void  void
48  stats_init(void)  stats_init(void)
49  {  {
50  #ifdef STATS  #ifdef STATS
51    memset(&stats, 0, sizeof(struct stats_));    memset(&lwip_stats, 0, sizeof(struct stats_));
52  #endif /* STATS */  #endif /* STATS */
53  }  }
54  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26