diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 21:42:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 21:42:41 +0000 |
commit | 02aaec7647607e96532b93083557412daca02285 (patch) | |
tree | 3c43da9ca1d68b69d0d5d596176d1314e8e895ac /cpukit/libnetworking/rtems/rtems_showicmpstat.c | |
parent | 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-02aaec7647607e96532b93083557412daca02285.tar.bz2 |
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_glue.c,
libnetworking/rtems/rtems_malloc_mbuf.c,
libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
Fix some warnings.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_showicmpstat.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_showicmpstat.c b/cpukit/libnetworking/rtems/rtems_showicmpstat.c index c2dfefdd28..15c19c012c 100644 --- a/cpukit/libnetworking/rtems/rtems_showicmpstat.c +++ b/cpukit/libnetworking/rtems/rtems_showicmpstat.c @@ -31,12 +31,16 @@ showicmpstat (const char *name, unsigned long n) printf ("%35s%12lu\n", name, n); } +/* + * External data we peek at during statistics reporting + */ +extern unsigned int icmplenPanicAvoided; + void rtems_bsdnet_show_icmp_stats (void) { int i; char cbuf[20]; - extern unsigned int icmplenPanicAvoided; printf ("************ ICMP Statistics ************\n"); showicmpstat ("Calls to icmp_error()", icmpstat.icps_error); |