-WARNS6 cleanup (1556 warnings)
commit4be74d368ae84173dca83a2961f734915fdf2095
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 3 Sep 2006 17:33:13 +0000 (3 17:33 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 3 Sep 2006 17:33:13 +0000 (3 17:33 +0000)
tree9ff62b235d9f0e12072632cbde4876e623bbf1f0
parent0ced1954a76f73ec07aceb1b74e89c5a022030b7
-WARNS6 cleanup (1556 warnings)
-ANSI function declarations
-staticize functions
-remove previously commented out code
-remove unneeded -ltermcap and -lcompat
-rename local variable names that shadow globals
-remove void casts for unchecked function returns
-move global variable declarations in externs.h to globals.c
-redefine the blockalarm() and unblockalarm() macros using POSIX and
tty semantics (taken from NetBSD)
-fix a typo in main() that wasn't incrementing the randomize variable
-use variable argument lists froms stdarg where applicable
-add a new function fmtship() which puts ship info in a string that can
later be printed (taken from NetBSD)
-add DragonFly keyword
25 files changed:
games/sail/Makefile
games/sail/assorted.c
games/sail/dr_1.c
games/sail/dr_2.c
games/sail/dr_3.c
games/sail/dr_4.c
games/sail/dr_5.c
games/sail/dr_main.c
games/sail/externs.h
games/sail/game.c
games/sail/globals.c
games/sail/lo_main.c
games/sail/machdep.h
games/sail/main.c
games/sail/misc.c
games/sail/parties.c
games/sail/pl_1.c
games/sail/pl_2.c
games/sail/pl_3.c
games/sail/pl_4.c
games/sail/pl_5.c
games/sail/pl_6.c
games/sail/pl_7.c
games/sail/pl_main.c
games/sail/sync.c