blob: 9f3335f11c92acad8f2d5817910d400aba23ebe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ab,v 1.2 2005/12/08 17:41:16 joerg Exp $
--- pinger.c.orig 2000-02-25 04:33:24.000000000 +0000
+++ pinger.c
@@ -23,7 +23,6 @@ extern fd_set RawFD;
extern u_long NumToPing;
extern u_long TO;
extern pid_t PidSender;
-extern int errno;
/*
@@ -141,7 +140,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;
|