diff options
author | imp <imp@FreeBSD.org> | 2002-02-18 05:15:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-18 05:15:19 +0000 |
commit | 24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d (patch) | |
tree | 275284ba202a3acb4c5d5041be389eba1a666e3b /games/phantasia | |
parent | d533053fe68906076e15c9a57531ef155a7d4283 (diff) | |
download | FreeBSD-src-24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d.zip FreeBSD-src-24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d.tar.gz |
Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
Diffstat (limited to 'games/phantasia')
-rw-r--r-- | games/phantasia/misc.c | 2 | ||||
-rw-r--r-- | games/phantasia/setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/games/phantasia/misc.c b/games/phantasia/misc.c index f920832..f46e3fd 100644 --- a/games/phantasia/misc.c +++ b/games/phantasia/misc.c @@ -1444,7 +1444,7 @@ readmessage() error(whichfile) char *whichfile; { - int (*funcp) __P((const char *, ...)); + int (*funcp)(const char *, ...); if (Windows) { diff --git a/games/phantasia/setup.c b/games/phantasia/setup.c index fddf7f4..b295b6a 100644 --- a/games/phantasia/setup.c +++ b/games/phantasia/setup.c @@ -61,7 +61,7 @@ main(argc, argv) char *argv[]; { char **filename; /* for pointing to file names */ - register int fd; /* file descriptor */ + int fd; /* file descriptor */ FILE *fp; /* for opening files */ struct stat fbuf; /* for getting files statistics */ int ch; |