Raise WARNS to 6:
authorChris Pressey <cpressey@dragonflybsd.org>
Wed, 16 Mar 2005 04:18:35 +0000 (04:18 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Wed, 16 Mar 2005 04:18:35 +0000 (04:18 +0000)
commit5af3bab0494588c449c8227f3e4b8f4c78677166
treefa449c596d0085b9997f3c814977f0c67a916d48
parent9c3785c330b1a8d67ab6906d9acf3661aec064d6
Raise WARNS to 6:

- Rename local variables to avoid conflicts with globals;
- Make local functions static;
- Add missing function prototypes;
- Remove stale function prototypes and struct declarations;
- Un-nest nested extern declarations;
- Constify some char *'s where appropriate;
- Resolve comparisons between signed and unsigned;
- Copy some strings into work buffers instead of returning
  a const char * from a function defined to return a char *.

Submitted-by: Sepherosa Ziehau <sepherosa_at_softhome_dot_net>
Some-tweaks-by: cpressey
sbin/route/Makefile
sbin/route/extern.h
sbin/route/route.c
sbin/route/show.c