From 98dc6b82209d86036b45b7c5922f7df21a96d2cf Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 8 May 2003 13:03:49 +0000 Subject: de-__P(). --- phantasia/main.c | 4 +- phantasia/misc.c | 4 +- phantasia/phantglobs.h | 138 ++++++++++++++++++++++++------------------------- phantasia/setup.c | 8 +-- 4 files changed, 77 insertions(+), 77 deletions(-) (limited to 'phantasia') diff --git a/phantasia/main.c b/phantasia/main.c index d8e9a7a8..871ff678 100644 --- a/phantasia/main.c +++ b/phantasia/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.10 2001/12/06 12:15:37 blymn Exp $ */ +/* $NetBSD: main.c,v 1.11 2003/05/08 13:03:49 wiz Exp $ */ /* * Phantasia 3.3.2 -- Interterminal fantasy game @@ -57,7 +57,7 @@ #include "include.h" -int main __P((int, char **)); +int main(int, char **); int main(argc, argv) diff --git a/phantasia/misc.c b/phantasia/misc.c index edf64cf7..e195e4d3 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.8 2003/01/20 05:29:55 simonb Exp $ */ +/* $NetBSD: misc.c,v 1.9 2003/05/08 13:03:49 wiz Exp $ */ /* * misc.c Phantasia miscellaneous support routines @@ -937,7 +937,7 @@ void error(whichfile) const char *whichfile; { - int (*funcp) __P((const char *,...)); + int (*funcp)(const char *,...); if (Windows) { funcp = printw; diff --git a/phantasia/phantglobs.h b/phantasia/phantglobs.h index 46e16e58..12e61d02 100644 --- a/phantasia/phantglobs.h +++ b/phantasia/phantglobs.h @@ -1,4 +1,4 @@ -/* $NetBSD: phantglobs.h,v 1.8 2001/02/05 01:01:27 christos Exp $ */ +/* $NetBSD: phantglobs.h,v 1.9 2003/05/08 13:03:49 wiz Exp $ */ /* * phantglobs.h - global declarations for Phantasia @@ -60,71 +60,71 @@ extern const char Nobetter[]; /* functions which we need to know about */ -const char *descrlocation __P((struct player *, bool)); -const char *descrstatus __P((struct player *)); -const char *descrtype __P((struct player *, bool)); -void activelist __P((void)); -void adjuststats __P((void)); -long allocrecord __P((void)); -long allocvoid __P((void)); -void allstatslist __P((void)); -void altercoordinates __P((double, double, int)); -void awardtreasure __P((void)); -void battleplayer __P((long)); -void callmonster __P((int)); -void cancelmonster __P((void)); -void catchalarm __P((int)) __attribute__((__noreturn__)); -void changestats __P((bool)); -void checkbattle __P((void)); -void checktampered __P((void)); -void cleanup __P((int)); -void collecttaxes __P((double, double)); -void cursedtreasure __P((void)); -void death __P((const char *)); -void displaystats __P((void)); -double distance __P((double, double, double, double)); -void dotampered __P((void)); -double drandom __P((void)); -void encounter __P((int)); -void enterscore __P((void)); -void error __P((const char *)); -double explevel __P((double)); -long findname __P((const char *, struct player *)); -void freerecord __P((struct player *, long)); -void genchar __P((int)); -int getanswer __P((const char *, bool)); -void getstring __P((char *, int)); -void hitmonster __P((double)); -void ill_sig __P((int)); -double infloat __P((void)); -void initialstate __P((void)); -void initplayer __P((struct player *)); -int inputoption __P((void)); -void interrupt __P((void)); -void leavegame __P((void)); -void monsthits __P((void)); -void monstlist __P((void)); -void more __P((int)); -void movelevel __P((void)); -void myturn __P((void)); -void neatstuff __P((void)); -int pickmonster __P((void)); -void playerhits __P((void)); -void playinit __P((void)); -void procmain __P((void)); -void purgeoldplayers __P((void)); -void readmessage __P((void)); -void readrecord __P((struct player *, long)); -long recallplayer __P((void)); -long rollnewplayer __P((void)); -void scorelist __P((void)); -void scramblestats __P((void)); -void tampered __P((int, double, double)); -void throneroom __P((void)); -void throwspell __P((void)); -void titlelist __P((void)); -void tradingpost __P((void)); -void truncstring __P((char *)); -void userlist __P((bool)); -void writerecord __P((struct player *, long)); -void writevoid __P((struct energyvoid *, long)); +const char *descrlocation(struct player *, bool); +const char *descrstatus(struct player *); +const char *descrtype(struct player *, bool); +void activelist(void); +void adjuststats(void); +long allocrecord(void); +long allocvoid(void); +void allstatslist(void); +void altercoordinates(double, double, int); +void awardtreasure(void); +void battleplayer(long); +void callmonster(int); +void cancelmonster(void); +void catchalarm(int) __attribute__((__noreturn__)); +void changestats(bool); +void checkbattle(void); +void checktampered(void); +void cleanup(int); +void collecttaxes(double, double); +void cursedtreasure(void); +void death(const char *); +void displaystats(void); +double distance(double, double, double, double); +void dotampered(void); +double drandom(void); +void encounter(int); +void enterscore(void); +void error(const char *); +double explevel(double); +long findname(const char *, struct player *); +void freerecord(struct player *, long); +void genchar(int); +int getanswer(const char *, bool); +void getstring(char *, int); +void hitmonster(double); +void ill_sig(int); +double infloat(void); +void initialstate(void); +void initplayer(struct player *); +int inputoption(void); +void interrupt(void); +void leavegame(void); +void monsthits(void); +void monstlist(void); +void more(int); +void movelevel(void); +void myturn(void); +void neatstuff(void); +int pickmonster(void); +void playerhits(void); +void playinit(void); +void procmain(void); +void purgeoldplayers(void); +void readmessage(void); +void readrecord(struct player *, long); +long recallplayer(void); +long rollnewplayer(void); +void scorelist(void); +void scramblestats(void); +void tampered(int, double, double); +void throneroom(void); +void throwspell(void); +void titlelist(void); +void tradingpost(void); +void truncstring(char *); +void userlist(bool); +void writerecord(struct player *, long); +void writevoid(struct energyvoid *, long); diff --git a/phantasia/setup.c b/phantasia/setup.c index 6a1d4c0e..029e9b6f 100644 --- a/phantasia/setup.c +++ b/phantasia/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.11 2001/03/27 02:23:28 simonb Exp $ */ +/* $NetBSD: setup.c,v 1.12 2003/05/08 13:03:49 wiz Exp $ */ /* * setup.c - set up all files for Phantasia @@ -8,9 +8,9 @@ #include #include "include.h" -int main __P((int, char *[])); -void Error __P((const char *, const char *)) __attribute__((__noreturn__)); -double drandom __P((void)); +int main(int, char *[]); +void Error(const char *, const char *) __attribute__((__noreturn__)); +double drandom(void); /* */ /************************************************************************ -- cgit v1.2.3-56-ge451