From: wessels <> Date: Wed, 25 Sep 1996 02:37:32 +0000 (+0000) Subject: ansi X-Git-Tag: SQUID_3_0_PRE1~5725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be53f2deae669b2e393542aaf691406520c1d16;p=thirdparty%2Fsquid.git ansi --- diff --git a/src/pinger.cc b/src/pinger.cc index 1bffd02843..c2fb5a4030 100644 --- a/src/pinger.cc +++ b/src/pinger.cc @@ -1,6 +1,6 @@ /* - * $Id: pinger.cc,v 1.4 1996/09/24 20:17:31 wessels Exp $ + * $Id: pinger.cc,v 1.5 1996/09/24 20:37:32 wessels Exp $ * * DEBUG: section 37 ICMP Routines * AUTHOR: Duane Wessels @@ -34,7 +34,7 @@ /* Junk so we can link with debug.o */ int opt_syslog_enable = 0; -int unbuffered_logs = 1; +volatile int unbuffered_logs = 1; char w_space[] = " \t\n\r"; char appname[] = "pinger"; struct timeval current_time; @@ -81,9 +81,9 @@ typedef struct { char payload[MAX_PAYLOAD]; } icmpEchoData; -static int icmp_sock = -1; -static int icmp_ident = -1; -static int icmp_pkts_sent = 0; +int icmp_sock = -1; +int icmp_ident = -1; +int icmp_pkts_sent = 0; static char *icmpPktStr[] = {