diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /games/fish/fish.c | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'games/fish/fish.c')
-rw-r--r-- | games/fish/fish.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/games/fish/fish.c b/games/fish/fish.c index 408b9fc4dbc..eeb77efd914 100644 --- a/games/fish/fish.c +++ b/games/fish/fish.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fish.c,v 1.9 2001/07/09 07:04:29 deraadt Exp $ */ +/* $OpenBSD: fish.c,v 1.10 2002/02/16 21:27:09 millert Exp $ */ /* $NetBSD: fish.c,v 1.3 1995/03/23 08:28:18 cgd Exp $ */ /*- @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: fish.c,v 1.9 2001/07/09 07:04:29 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: fish.c,v 1.10 2002/02/16 21:27:09 millert Exp $"; #endif #endif /* not lint */ @@ -83,22 +83,22 @@ int curcard; int asked[RANKS], comphand[RANKS], deck[TOTCARDS]; int userasked[RANKS], userhand[RANKS]; -void chkwinner __P((int, const int *)); -int compmove __P((void)); -int countbooks __P((const int *)); -int countcards __P((const int *)); -int drawcard __P((int, int *)); -int getans __P((const char *)); -int gofish __P((int, int, int *)); -void goodmove __P((int, int, int *, int *)); -void init __P((void)); -void instructions __P((void)); -int nrandom __P((int)); -void printhand __P((const int *)); -void printplayer __P((int)); -int promove __P((void)); -void usage __P((void)); -int usermove __P((void)); +void chkwinner(int, const int *); +int compmove(void); +int countbooks(const int *); +int countcards(const int *); +int drawcard(int, int *); +int getans(const char *); +int gofish(int, int, int *); +void goodmove(int, int, int *, int *); +void init(void); +void instructions(void); +int nrandom(int); +void printhand(const int *); +void printplayer(int); +int promove(void); +void usage(void); +int usermove(void); int main(argc, argv) |