Bump WARNS to 6:
authorChris Pressey <cpressey@dragonflybsd.org>
Tue, 21 Dec 2004 20:00:57 +0000 (20:00 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Tue, 21 Dec 2004 20:00:57 +0000 (20:00 +0000)
commit1978246ddb61db5543b9f9cbfa9042594689acd4
tree62cdd57d9d8338a99e56d7d3e99ac265ce443498
parentce280ce586777b4bc5b193d72f9b22fc13760f2c
Bump WARNS to 6:
- Add missing prototype;
- Where appropriate, adjust types and consequently remove casts;
- Explicitly initialize variables that GCC can't tell won't be used
  unintialized.

Also, while here, apply style(9):
- Remove `register' keywords;
- Add `static' keywords to local functions and prototypes;
- Remove casts to void when ignoring return values;
- Explicitly compare non-booleans against zero or NULL;
- Make comments real sentences;
- Add braces and NOTREACHED.
usr.bin/tsort/Makefile
usr.bin/tsort/tsort.c