cvs commit: src/games/larn Makefile bill.c config.c create.c data.c diag.c display.c fortune.c global.c header.h help.c io.c main.c monster.c moreobj.c movem.c nap.c object.c pathnames.h regen.c savelev.c scores.c signal.c store.c tok.c
Peter Avalos
pavalos at crater.dragonflybsd.org
Sat Aug 26 10:08:02 PDT 2006
pavalos 2006/08/26 10:05:05 PDT
DragonFly src repository
Modified files:
games/larn Makefile bill.c config.c create.c data.c
diag.c display.c fortune.c global.c
header.h help.c io.c main.c monster.c
moreobj.c movem.c nap.c object.c
pathnames.h regen.c savelev.c scores.c
signal.c store.c tok.c
Log:
-WARNS6 cleanup (4670 warnings)
-ANSI function declarations
-Staticize functions
-Rename local variables that shadowed global declarations
-Remove an extra semicolon after an if statement in makemaze()
-Remove code that was previously commented out, or that was unused
-Use NULL for string pointers == 0 and don't redefine NULL
-Add function protoypes for all functions
-Add macros for stty and gtty that use ioctl which removes the dependency
on libcompat.
-Add DragonFly keyword where needed
-Add new arrays (potionhide/scrollhide) to prevent modifying string
constants, then fix problems associated with this hiding
mechanism. (taken from NetBSD)
Revision Changes Path
1.4 +3 -2 src/games/larn/Makefile
1.3 +10 -10 src/games/larn/bill.c
1.2 +2 -4 src/games/larn/config.c
1.3 +47 -41 src/games/larn/create.c
1.4 +78 -72 src/games/larn/data.c
1.5 +32 -19 src/games/larn/diag.c
1.3 +87 -68 src/games/larn/display.c
1.3 +5 -4 src/games/larn/fortune.c
1.5 +71 -94 src/games/larn/global.c
1.5 +201 -13 src/games/larn/header.h
1.4 +13 -7 src/games/larn/help.c
1.6 +107 -108 src/games/larn/io.c
1.4 +111 -66 src/games/larn/main.c
1.4 +108 -87 src/games/larn/monster.c
1.3 +26 -23 src/games/larn/moreobj.c
1.3 +16 -9 src/games/larn/movem.c
1.4 +3 -111 src/games/larn/nap.c
1.5 +97 -67 src/games/larn/object.c
1.2 +1 -1 src/games/larn/pathnames.h
1.3 +3 -2 src/games/larn/regen.c
1.3 +5 -4 src/games/larn/savelev.c
1.4 +58 -38 src/games/larn/scores.c
1.4 +80 -32 src/games/larn/signal.c
1.4 +198 -204 src/games/larn/store.c
1.4 +15 -12 src/games/larn/tok.c
http://www.dragonflybsd.org/cvsweb/src/games/larn/Makefile.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/bill.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/config.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/create.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/data.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/diag.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/display.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/fortune.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/global.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/header.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/help.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/io.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/main.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/monster.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/moreobj.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/movem.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/nap.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/object.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/pathnames.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/regen.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/savelev.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/scores.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/signal.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/store.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/games/larn/tok.c.diff?r1=1.3&r2=1.4&f=u
More information about the Commits
mailing list