summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.c
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2002-04-02 10:15:32 +0000
committermaxim <maxim@FreeBSD.org>2002-04-02 10:15:32 +0000
commita8e402b266a6426ec1790169fc85e7c3471f3a5c (patch)
treeb55bfa9b4db50f846fbcae7cc202b2cdb5e498c7 /sbin/ping/ping.c
parentfcdd7b2328a858f1c42fa6de4e984ab478390589 (diff)
downloadFreeBSD-src-a8e402b266a6426ec1790169fc85e7c3471f3a5c.zip
FreeBSD-src-a8e402b266a6426ec1790169fc85e7c3471f3a5c.tar.gz
WARNS fixes.
Submitted by: kris Reviewed by: bde Approved by: ru MFC after: 2 weeks
Diffstat (limited to 'sbin/ping/ping.c')
-rw-r--r--sbin/ping/ping.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index 58abc00..f22c5a4 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -96,7 +96,7 @@ static const char rcsid[] =
#include <netinet6/ipsec.h>
#endif /*IPSEC*/
-#define PHDR_LEN sizeof(struct timeval)
+#define PHDR_LEN ((int)sizeof(struct timeval))
#define DEFDATALEN (64 - PHDR_LEN) /* default data length */
#define FLOOD_BACKOFF 20000 /* usecs to back off if F_FLOOD mode */
/* runs out of buffer space */
@@ -727,7 +727,7 @@ main(argc, argv)
*/
void
stopit(sig)
- int sig;
+ int sig __unused;
{
finish_up = 1;
@@ -1097,7 +1097,7 @@ tvsub(out, in)
static void
status(sig)
- int sig;
+ int sig __unused;
{
siginfo_p = 1;
OpenPOWER on IntegriCloud