-WARNS6 cleanup (4670 warnings)
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 26 Aug 2006 17:05:05 +0000 (17:05 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 26 Aug 2006 17:05:05 +0000 (17:05 +0000)
commit88fe92e6acb239d12a88228ae17876229bf90aa1
treea857cf1b726ba168997c887073426296f59cfe71
parent1298a28890b3498baf2ebd1df60223a754415649
-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)
25 files changed:
games/larn/Makefile
games/larn/bill.c
games/larn/config.c
games/larn/create.c
games/larn/data.c
games/larn/diag.c
games/larn/display.c
games/larn/fortune.c
games/larn/global.c
games/larn/header.h
games/larn/help.c
games/larn/io.c
games/larn/main.c
games/larn/monster.c
games/larn/moreobj.c
games/larn/movem.c
games/larn/nap.c
games/larn/object.c
games/larn/pathnames.h
games/larn/regen.c
games/larn/savelev.c
games/larn/scores.c
games/larn/signal.c
games/larn/store.c
games/larn/tok.c