pkgsrc/security/rid/patches/patch-ab
grant e4dde7ff5f don't inline a function in one source file and expect to be able to
use it in other source files - not all compilers allow this.
2004-06-27 12:21:21 +00:00

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;