Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/games/hack



Module Name:    src
Committed By:   dholland
Date:           Sat Aug  6 20:18:26 UTC 2011

Modified Files:
        src/games/hack: alloc.c def.gen.h def.gold.h def.monst.h def.obj.h
            def.trap.h def.wseg.h extern.h hack.end.c hack.engrave.c hack.h
            hack.o_init.c hack.pager.c hack.rumors.c hack.topl.c

Log Message:
Use the right type for the malloc wrapper function, and don't cast the
return value.

(XXX: Except for a pile of allocation macros that produce typed pointer
results; there the typechecking of the result assignment is more valuable
than the warning if the alloc function isn't declared properly. These
macros should go away.)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/games/hack/alloc.c src/games/hack/hack.rumors.c
cvs rdiff -u -r1.5 -r1.6 src/games/hack/def.gen.h src/games/hack/def.gold.h \
    src/games/hack/def.obj.h src/games/hack/def.trap.h \
    src/games/hack/def.wseg.h
cvs rdiff -u -r1.7 -r1.8 src/games/hack/def.monst.h
cvs rdiff -u -r1.15 -r1.16 src/games/hack/extern.h src/games/hack/hack.h
cvs rdiff -u -r1.14 -r1.15 src/games/hack/hack.end.c
cvs rdiff -u -r1.10 -r1.11 src/games/hack/hack.engrave.c
cvs rdiff -u -r1.11 -r1.12 src/games/hack/hack.o_init.c
cvs rdiff -u -r1.16 -r1.17 src/games/hack/hack.pager.c
cvs rdiff -u -r1.12 -r1.13 src/games/hack/hack.topl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index