Clean up:
authorChris Pressey <cpressey@dragonflybsd.org>
Sun, 13 Feb 2005 18:57:30 +0000 (18:57 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Sun, 13 Feb 2005 18:57:30 +0000 (18:57 +0000)
commit9a362823d7f344452d5721b10966efe1f0c6405e
tree17253872c00add5b30837ac40933d4268b958db8
parent7473c372cfaa701b34d5ef09305d8129fff4dedc
Clean up:
- ANSIfy function definitions.
- Constify where appropriate and remove `auto' declarations.
- Normalize whitespace and placement of braces.
- Parentheses around arguments to sizeof.
- Explicitly test against NUL character.
- Use curses functions instead of accessing internal members of the
  WINDOW structure.
- Eliminate a convoluted and unnecessary goto.
- Raise WARNS to 6.

Brought-to-my-attention-by: my CPSC 213 lab assignment
12 files changed:
games/hangman/Makefile
games/hangman/endgame.c
games/hangman/extern.c
games/hangman/getguess.c
games/hangman/getword.c
games/hangman/hangman.h
games/hangman/main.c
games/hangman/playgame.c
games/hangman/prdata.c
games/hangman/prman.c
games/hangman/prword.c
games/hangman/setup.c