-
-void chkwinner __P((int, int *));
-int compmove __P((void));
-int countbooks __P((int *));
-int countcards __P((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((int *));
-void printplayer __P((int));
-int promove __P((void));
-void usage __P((void)) __attribute__((__noreturn__));
-int usermove __P((void));
+int curcard = TOTCARDS;
+
+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 nrandom(int);
+void printhand(const int *);
+void printplayer(int);
+int promove(void);
+void usage(void) __dead;
+int usermove(void);