diff options
author | maxim <maxim@FreeBSD.org> | 2002-04-02 10:15:32 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2002-04-02 10:15:32 +0000 |
commit | a8e402b266a6426ec1790169fc85e7c3471f3a5c (patch) | |
tree | b55bfa9b4db50f846fbcae7cc202b2cdb5e498c7 /sbin | |
parent | fcdd7b2328a858f1c42fa6de4e984ab478390589 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sbin/ping/ping.c | 6 |
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; |