summaryrefslogtreecommitdiff
path: root/games/phantasia/gamesupport.c
AgeCommit message (Collapse)Author
2016-08-27Pull in <time.h> for time() and perhaps other functionsPhilip Guenther
ok deraadt@
2016-01-06Remove unnecessary header files from phantasia(6)mestre
Lesson learnt: don't include an header sorted alphabetically just because. The external definition of variables was done on phantglobs.h but their declaration was on phantstruct.h and therefore the latter must be included before the former. It's easier to just include phantstruct.h inside phantglobs.h since it always need it. With help and OK from tb@
2016-01-06Ansify the bulk of phantasia. No binary change on amd64. Basedtb
on an older diff by mestre. ok mestre@
2010-12-15as of 1989, fread/fwrite take void *, so there's no need to cast to char *.Ted Unangst
2003-04-25comment repairTheo de Raadt
2003-04-062451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzenTheo de Raadt
already, but he may have later changes to make still.
2000-06-29use SEEK_SET; improve an error message.Paul Janzen
1998-11-29NetBSD merge (mainly -Wall related)Paul Janzen
1996-05-26fixed the "/* in comments" problem.fn
1995-10-18initial import of NetBSD treeTheo de Raadt