e4dde7ff5f
use it in other source files - not all compilers allow this.
13 lines
330 B
Text
13 lines
330 B
Text
$NetBSD: patch-ab,v 1.1 2004/06/27 12:21:21 grant Exp $
|
|
|
|
--- pinger.c.orig 2000-02-25 15:33:24.000000000 +1100
|
|
+++ pinger.c
|
|
@@ -141,7 +141,7 @@ void process_alive(int num_hosts)
|
|
}
|
|
|
|
/* Standard checksum routine */
|
|
-inline unsigned short
|
|
+unsigned short
|
|
ip_cksum(u_short *addr, int len)
|
|
{
|
|
register int nleft = len;
|