summaryrefslogtreecommitdiffstats
path: root/games/canfield
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-24 01:09:35 +0000
committerimp <imp@FreeBSD.org>2002-03-24 01:09:35 +0000
commit4398e87add0484e0415b9fbac83960d466fabd2c (patch)
treea65f23a5bca8e8e27636afadc13b5d1e3b630860 /games/canfield
parent4f1d815552cec1ff1b73eb3567d69553cb3c6403 (diff)
downloadFreeBSD-src-4398e87add0484e0415b9fbac83960d466fabd2c.zip
FreeBSD-src-4398e87add0484e0415b9fbac83960d466fabd2c.tar.gz
o remove __P
Diffstat (limited to 'games/canfield')
-rw-r--r--games/canfield/canfield/canfield.c92
-rw-r--r--games/canfield/cfscores/cfscores.c2
2 files changed, 47 insertions, 47 deletions
diff --git a/games/canfield/canfield/canfield.c b/games/canfield/canfield/canfield.c
index 1c64965..4b27028 100644
--- a/games/canfield/canfield/canfield.c
+++ b/games/canfield/canfield/canfield.c
@@ -199,52 +199,52 @@ bool startedgame = FALSE, infullgame = FALSE;
time_t acctstart;
int dbfd = -1;
-void askquit __P((int));
-void cleanup __P((int));
-void cleanupboard __P((void));
-void clearabovemovebox __P((void));
-void clearbelowmovebox __P((void));
-void clearmsg __P((void));
-void clearstat __P((void));
-void destinerror __P((void));
-bool diffcolor __P((struct cardtype *, struct cardtype *));
-void dumberror __P((void));
-bool finish __P((void));
-void fndbase __P((struct cardtype **, int, int));
-void getcmd __P((int, int, char *));
-void initall __P((void));
-void initdeck __P((struct cardtype *[]));
-void initgame __P((void));
-void instruct __P((void));
-void makeboard __P((void));
-void movebox __P((void));
-void movecard __P((void));
-void movetofound __P((struct cardtype **, int));
-void movetotalon __P((void));
-bool notempty __P((struct cardtype *));
-void printbottombettingbox __P((void));
-void printbottominstructions __P((void));
-void printcard __P((int, int, struct cardtype *));
-void printrank __P((int, int, struct cardtype *, bool));
-void printtopbettingbox __P((void));
-void printtopinstructions __P((void));
-bool rankhigher __P((struct cardtype *, int));
-bool ranklower __P((struct cardtype *, struct cardtype *));
-void removecard __P((int, int));
-bool samesuit __P((struct cardtype *, int));
-void showcards __P((void));
-void showstat __P((void));
-void shuffle __P((struct cardtype *[]));
-void simpletableau __P((struct cardtype **, int));
-void startgame __P((void));
-void suspend __P((void));
-bool tabok __P((struct cardtype *, int));
-void tabprint __P((int, int));
-void tabtotab __P((int, int));
-void transit __P((struct cardtype **, struct cardtype **));
-void updatebettinginfo __P((void));
-void usedstock __P((void));
-void usedtalon __P((void));
+void askquit(int);
+void cleanup(int);
+void cleanupboard(void);
+void clearabovemovebox(void);
+void clearbelowmovebox(void);
+void clearmsg(void);
+void clearstat(void);
+void destinerror(void);
+bool diffcolor(struct cardtype *, struct cardtype *);
+void dumberror(void);
+bool finish(void);
+void fndbase(struct cardtype **, int, int);
+void getcmd(int, int, char *);
+void initall(void);
+void initdeck(struct cardtype *[]);
+void initgame(void);
+void instruct(void);
+void makeboard(void);
+void movebox(void);
+void movecard(void);
+void movetofound(struct cardtype **, int);
+void movetotalon(void);
+bool notempty(struct cardtype *);
+void printbottombettingbox(void);
+void printbottominstructions(void);
+void printcard(int, int, struct cardtype *);
+void printrank(int, int, struct cardtype *, bool);
+void printtopbettingbox(void);
+void printtopinstructions(void);
+bool rankhigher(struct cardtype *, int);
+bool ranklower(struct cardtype *, struct cardtype *);
+void removecard(int, int);
+bool samesuit(struct cardtype *, int);
+void showcards(void);
+void showstat(void);
+void shuffle(struct cardtype *[]);
+void simpletableau(struct cardtype **, int);
+void startgame(void);
+void suspend(void);
+bool tabok(struct cardtype *, int);
+void tabprint(int, int);
+void tabtotab(int, int);
+void transit(struct cardtype **, struct cardtype **);
+void updatebettinginfo(void);
+void usedstock(void);
+void usedtalon(void);
/*
* The following procedures print the board onto the screen using the
diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c
index 8fd93b2..de07283 100644
--- a/games/canfield/cfscores/cfscores.c
+++ b/games/canfield/cfscores/cfscores.c
@@ -65,7 +65,7 @@ struct betinfo {
int dbfd;
-void printuser __P((struct passwd *, int));
+void printuser(struct passwd *, int);
int
main(argc, argv)
OpenPOWER on IntegriCloud