cvs commit: src/games/mille Makefile comp.c end.c extern.c init.c mille.c mille.h misc.c move.c print.c roll.c save.c types.c varpush.c
Peter Avalos
pavalos at crater.dragonflybsd.org
Sun Aug 27 10:21:58 PDT 2006
pavalos 2006/08/27 10:17:23 PDT
DragonFly src repository
Modified files:
games/mille Makefile comp.c end.c extern.c init.c
mille.c mille.h misc.c move.c print.c
roll.c save.c types.c varpush.c
Log:
-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)
Revision Changes Path
1.3 +4 -3 src/games/mille/Makefile
1.3 +5 -8 src/games/mille/comp.c
1.4 +6 -10 src/games/mille/end.c
1.3 +4 -4 src/games/mille/extern.c
1.3 +9 -5 src/games/mille/init.c
1.5 +10 -11 src/games/mille/mille.c
1.6 +4 -3 src/games/mille/mille.h
1.4 +8 -8 src/games/mille/misc.c
1.5 +12 -14 src/games/mille/move.c
1.4 +8 -11 src/games/mille/print.c
1.3 +3 -3 src/games/mille/roll.c
1.5 +22 -16 src/games/mille/save.c
1.3 +5 -5 src/games/mille/types.c
1.3 +36 -22 src/games/mille/varpush.c
http://www.dragonflybsd.org/cvsweb/src/games/mille/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/comp.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/end.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/extern.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/init.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/mille.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/mille.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/misc.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/move.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/print.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/roll.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/save.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/types.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/mille/varpush.c.diff?r1=1.2&r2=1.3&f=u
More information about the Commits
mailing list