summaryrefslogtreecommitdiffstats
path: root/mille/mille.h
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-12 00:53:45 +0000
committerlukem <lukem@NetBSD.org>1997-10-12 00:53:45 +0000
commit718b40e43f2fbb804acc0266499926f8e51f83ef (patch)
treece23ec6ddb7cc228fe2f9f6af3f68bd843f6c4f9 /mille/mille.h
parent465f7ee80758219cdc70f7ed834148335f5c4d59 (diff)
downloadbsdgames-darwin-718b40e43f2fbb804acc0266499926f8e51f83ef.tar.gz
bsdgames-darwin-718b40e43f2fbb804acc0266499926f8e51f83ef.tar.zst
bsdgames-darwin-718b40e43f2fbb804acc0266499926f8e51f83ef.zip
WARNSify
Diffstat (limited to 'mille/mille.h')
-rw-r--r--mille/mille.h49
1 files changed, 46 insertions, 3 deletions
diff --git a/mille/mille.h b/mille/mille.h
index 106a6d71..5c3f4800 100644
--- a/mille/mille.h
+++ b/mille/mille.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mille.h,v 1.6 1997/05/23 23:09:39 jtc Exp $ */
+/* $NetBSD: mille.h,v 1.7 1997/10/12 00:54:11 lukem Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -36,10 +36,17 @@
*/
# include <sys/types.h>
+# include <sys/uio.h>
+# include <sys/stat.h>
# include <ctype.h>
+# include <err.h>
+# include <errno.h>
# include <curses.h>
-# include <termios.h>
+# include <fcntl.h>
+# include <stdlib.h>
# include <string.h>
+# include <termios.h>
+# include <unistd.h>
/*
* @(#)mille.h 1.1 (Berkeley) 4/1/82
@@ -218,4 +225,40 @@ extern WINDOW *Board, *Miles, *Score;
* functions
*/
-CARD getcard();
+void account __P((CARD));
+void calcmove __P((void));
+int canplay __P((PLAY *, PLAY *, CARD));
+int check_ext __P((bool));
+void check_go __P((void));
+void check_more __P((void));
+void die __P((int));
+void domove __P((void));
+bool error __P((char *, ...));
+void extrapolate __P((PLAY *));
+void finalscore __P((PLAY *));
+CARD getcard __P((void));
+void getmove __P((void));
+int getyn __P((int));
+int haspicked __P((PLAY *));
+void init __P((void));
+int isrepair __P((CARD));
+int main __P((int, char **));
+void newboard __P((void));
+void newscore __P((void));
+int onecard __P((PLAY *));
+int playcard __P((PLAY *));
+void prboard __P((void));
+void prompt __P((int));
+void prscore __P((int));
+int readch __P((void));
+bool rest_f __P((char *));
+int roll __P((int, int));
+void rub __P((int));
+int safety __P((CARD));
+bool save __P((void));
+void show_card __P((int, int, CARD, CARD *));
+void show_score __P((int, int, int, int *));
+void shuffle __P((void));
+void sort __P((CARD *));
+void undoex __P((int));
+bool varpush __P((int, ssize_t __P((int, const struct iovec *, int))));