History log of /openbsd/games/phantasia/main.c (Results 1 – 23 of 23)
Revision Date Author Comments
# ce7279d8 21-May-2024 jsg <jsg@openbsd.org>

remove prototypes with no matching function and externs with no var
partly checked by millert@


# 1614e62e 27-Aug-2016 guenther <guenther@openbsd.org>

Pull in <time.h> for time() and perhaps other functions

ok deraadt@


# 7e027cb7 10-Jan-2016 mestre <mestre@openbsd.org>

As per style(9), remove remaining lint-style comments from games/

OK tb@


# 95d0ce26 08-Jan-2016 tb <tb@openbsd.org>

add missing 'void'

ok mestre@


# 010ae45b 06-Jan-2016 mestre <mestre@openbsd.org>

Remove unnecessary header files from phantasia(6)

Lesson learnt: don't include an header sorted alphabetically just because. The
external definition of variables was done on phantglobs.h but their d

Remove unnecessary header files from phantasia(6)

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@

show more ...


# f0d3161e 06-Jan-2016 tb <tb@openbsd.org>

Ansify the bulk of phantasia. No binary change on amd64. Based
on an older diff by mestre.

ok mestre@


# 34278d36 16-Nov-2014 guenther <guenther@openbsd.org>

Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,
and <sys/ttydefaults.h>
Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX
Pull in <limits.h> where needed

Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,
and <sys/ttydefaults.h>
Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX
Pull in <limits.h> where needed
Prefer sizeof(var) over MAXFOO or FOO_MAX

ok deraadt@

show more ...


# cb127fae 12-Jul-2014 deraadt <deraadt@openbsd.org>

Remove a pile of (obviously unused) #ifdef SYSV and BSD41 and BSD42
code that catches lots of signals, and then re-enters curses... before
exiting.


# 66e49541 29-Aug-2013 naddy <naddy@openbsd.org>

replace srandomdev()+random() with the arc4random*() family
tweaks and ok millert@, ok deraadt@


# 3e54dc23 15-Dec-2010 tedu <tedu@openbsd.org>

as of 1989, fread/fwrite take void *, so there's no need to cast to char *.


# b176a0c2 25-Apr-2003 deraadt <deraadt@openbsd.org>

comment repair


# 42ceebb3 06-Apr-2003 deraadt <deraadt@openbsd.org>

2451 lines of strdup/sprintf/strcpy whacking. mostly ok'd by pjanzen
already, but he may have later changes to make still.


# ffe3e522 06-Dec-2002 millert <millert@openbsd.org>

Replace things like srandom(time(NULL)) with srandomdev(3). random(3)
good enough for games but we should at least use a decent seed.
pjanzen@ OK


# 8c730b5f 31-May-2002 pjanzen <pjanzen@openbsd.org>

crmode -> cbreak


# ce267bb8 06-May-2002 millert <millert@openbsd.org>

do not install a SIGSEGV handler


# 921320ab 04-Feb-2001 pjanzen <pjanzen@openbsd.org>

Tidy, avoid segfaults on unknown users, and deal with long usernames


# 4f4ce681 29-Jun-2000 pjanzen <pjanzen@openbsd.org>

use SEEK_SET; improve an error message.


# c4b20be9 29-Nov-1998 pjanzen <pjanzen@openbsd.org>

NetBSD merge (mainly -Wall related)


# ac594dac 28-Nov-1998 pjanzen <pjanzen@openbsd.org>

Clear up a warning: printw doesn't take a const char, printf does


# f8908df1 10-Jul-1998 downsj <downsj@openbsd.org>

Ok, so I was bored and couldn't sleep...

Make this sucker work with decent terminal settings.


# 8101706a 08-Dec-1997 deraadt <deraadt@openbsd.org>

avoid fclose(NULL)


# db690800 26-May-1996 fn <fn@openbsd.org>

fixed the "/* in comments" problem.


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree