summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2004-01-27 20:30:28 +0000
committerjsm <jsm@NetBSD.org>2004-01-27 20:30:28 +0000
commita43fb158d0c5c90291b792d683aa0221403f1893 (patch)
treeabc8b57813f81300bc2b7a4ad80223e666d05d7d /fish
parent5572d7c395d19f949cb8a29c96791307e744681c (diff)
downloadbsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.gz
bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.zst
bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.zip
Remove uses of __P.
Diffstat (limited to 'fish')
-rw-r--r--fish/fish.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/fish/fish.c b/fish/fish.c
index c83f957d..3ce0668e 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fish.c,v 1.14 2003/08/07 09:37:13 agc Exp $ */
+/* $NetBSD: fish.c,v 1.15 2004/01/27 20:30:29 jsm Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993\n\
#if 0
static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fish.c,v 1.14 2003/08/07 09:37:13 agc Exp $");
+__RCSID("$NetBSD: fish.c,v 1.15 2004/01/27 20:30:29 jsm Exp $");
#endif
#endif /* not lint */
@@ -78,22 +78,22 @@ int asked[RANKS], comphand[RANKS], deck[TOTCARDS];
int userasked[RANKS], userhand[RANKS];
int curcard = TOTCARDS;
-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 gofish __P((int, int, int *));
-void goodmove __P((int, int, int *, int *));
-void init __P((void));
-void instructions __P((void));
-int main __P((int, char *[]));
-int nrandom __P((int));
-void printhand __P((const int *));
-void printplayer __P((int));
-int promove __P((void));
-void usage __P((void)) __attribute__((__noreturn__));
-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 gofish(int, int, int *);
+void goodmove(int, int, int *, int *);
+void init(void);
+void instructions(void);
+int main(int, char *[]);
+int nrandom(int);
+void printhand(const int *);
+void printplayer(int);
+int promove(void);
+void usage(void) __attribute__((__noreturn__));
+int usermove(void);
int
main(argc, argv)