-WARNS6 cleanup (68 warnings)
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 27 Aug 2006 17:17:23 +0000 (17:17 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 27 Aug 2006 17:17:23 +0000 (17:17 +0000)
commit46c76430e280dfefa3816d49675fbc11942d50ad
tree32dcaed36f303fb740f38b662e1c0ba8d44d317d
parent8aee5efa83b9f7f4d45148d9004709c66ec783b2
-WARNS6 cleanup (68 warnings)
-No need to link in -ltermcap or -lcompat
-ANSI function declarations
-Remove (void) casts for unchecked function returns
-Rename local variables that shadow global declarations
-Actually check if read() and write() are successful, and act
appropriately.  (taken from NetBSD)
-Use struct iovec and readv/writev in varpush() so that the function
declaration isn't variable.  (taken from NetBSD)
14 files changed:
games/mille/Makefile
games/mille/comp.c
games/mille/end.c
games/mille/extern.c
games/mille/init.c
games/mille/mille.c
games/mille/mille.h
games/mille/misc.c
games/mille/move.c
games/mille/print.c
games/mille/roll.c
games/mille/save.c
games/mille/types.c
games/mille/varpush.c