cvs commit: src/games/sail Makefile assorted.c dr_1.c dr_2.c dr_3.c dr_4.c dr_5.c dr_main.c externs.h game.c globals.c lo_main.c machdep.h main.c misc.c parties.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c pl_main.c sync.c
Peter Avalos
pavalos at crater.dragonflybsd.org
Sun Sep 3 10:34:33 PDT 2006
pavalos 2006/09/03 10:33:13 PDT
DragonFly src repository
Modified files:
games/sail Makefile assorted.c dr_1.c dr_2.c dr_3.c
dr_4.c dr_5.c dr_main.c externs.h game.c
globals.c lo_main.c machdep.h main.c
misc.c parties.c pl_1.c pl_2.c pl_3.c
pl_4.c pl_5.c pl_6.c pl_7.c pl_main.c
sync.c
Log:
-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
Revision Changes Path
1.3 +4 -3 src/games/sail/Makefile
1.3 +11 -22 src/games/sail/assorted.c
1.4 +46 -38 src/games/sail/dr_1.c
1.3 +36 -37 src/games/sail/dr_2.c
1.3 +32 -29 src/games/sail/dr_3.c
1.3 +5 -5 src/games/sail/dr_4.c
1.3 +5 -9 src/games/sail/dr_5.c
1.3 +8 -7 src/games/sail/dr_main.c
1.4 +157 -54 src/games/sail/externs.h
1.3 +6 -8 src/games/sail/game.c
1.3 +176 -154 src/games/sail/globals.c
1.3 +9 -8 src/games/sail/lo_main.c
1.2 +16 -9 src/games/sail/machdep.h
1.3 +6 -7 src/games/sail/main.c
1.4 +34 -34 src/games/sail/misc.c
1.3 +7 -10 src/games/sail/parties.c
1.4 +13 -13 src/games/sail/pl_1.c
1.3 +4 -3 src/games/sail/pl_2.c
1.3 +21 -18 src/games/sail/pl_3.c
1.3 +12 -11 src/games/sail/pl_4.c
1.3 +26 -25 src/games/sail/pl_5.c
1.3 +10 -5 src/games/sail/pl_6.c
1.3 +169 -150 src/games/sail/pl_7.c
1.4 +28 -26 src/games/sail/pl_main.c
1.4 +74 -50 src/games/sail/sync.c
http://www.dragonflybsd.org/cvsweb/src/games/sail/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/assorted.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/dr_1.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/dr_2.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/dr_3.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/dr_4.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/dr_5.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/dr_main.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/externs.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/game.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/globals.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/lo_main.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/machdep.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/main.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/misc.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/parties.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_1.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_2.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_3.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_4.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_5.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_6.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_7.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/pl_main.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/sail/sync.c.diff?r1=1.3&r2=1.4&f=u
More information about the Commits
mailing list