Raise WARNS to 6:
authorChris Pressey <cpressey@dragonflybsd.org>
Sat, 5 Mar 2005 22:27:08 +0000 (22:27 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Sat, 5 Mar 2005 22:27:08 +0000 (22:27 +0000)
commit58e10522f37438bb9faccf245e4078b1621a16b0
treed120a5f01aea4929209cc9c240e7a434d1faf1b5
parent7571ac9f84395058f1229f176f836ab9a38e8242
Raise WARNS to 6:
- Cast sizeof()'s to int where appropriate.
- Initialize locals where needed.
- Mark unused function arguments as __unused.
- Rename some locals to avoid conflicts with globals.
- Constify some char *'s.
- Only define get_pathmtu() and set_pathmtu() if IPV6_RECVPATHMTU or
  IPV6_USE_MTU are #defined, respectively.  Otherwise, #define them
  as do-nothing macros.

And style(9):
- Remove `register' keywords.
- Remove #if defined(__OperatingSystem__) conditional compilation.

Submitted-by: Pawel Biernacki <kaktus_at_dragonflybsd_dot_pl>
Some-tweaks-by: cpressey
sbin/ping6/Makefile
sbin/ping6/ping6.c