mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
new upstream
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mille.h,v 1.12 2003/08/07 09:37:25 agc Exp $ */
|
||||
/* $NetBSD: mille.h,v 1.13 2004/01/27 20:30:30 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1993
|
||||
@@ -231,44 +231,44 @@ extern WINDOW *Board, *Miles, *Score;
|
||||
* functions
|
||||
*/
|
||||
|
||||
void account __P((CARD));
|
||||
void calcmove __P((void));
|
||||
int canplay __P((const PLAY *, const PLAY *, CARD));
|
||||
int check_ext __P((bool));
|
||||
void check_go __P((void));
|
||||
void check_more __P((void));
|
||||
void die __P((int)) __attribute__((__noreturn__));
|
||||
void domove __P((void));
|
||||
bool error __P((const char *, ...));
|
||||
void extrapolate __P((PLAY *));
|
||||
void finalscore __P((PLAY *));
|
||||
CARD getcard __P((void));
|
||||
void getmove __P((void));
|
||||
int getyn __P((int));
|
||||
int haspicked __P((const PLAY *));
|
||||
void init __P((void));
|
||||
int is_repair __P((CARD));
|
||||
int main __P((int, char **));
|
||||
void newboard __P((void));
|
||||
void newscore __P((void));
|
||||
int onecard __P((const PLAY *));
|
||||
int playcard __P((PLAY *));
|
||||
void prboard __P((void));
|
||||
void prompt __P((int));
|
||||
void prscore __P((bool));
|
||||
int readch __P((void));
|
||||
bool rest_f __P((const 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));
|
||||
void account(CARD);
|
||||
void calcmove(void);
|
||||
int canplay(const PLAY *, const PLAY *, CARD);
|
||||
int check_ext(bool);
|
||||
void check_go(void);
|
||||
void check_more(void);
|
||||
void die(int) __attribute__((__noreturn__));
|
||||
void domove(void);
|
||||
bool error(const char *, ...);
|
||||
void extrapolate(PLAY *);
|
||||
void finalscore(PLAY *);
|
||||
CARD getcard(void);
|
||||
void getmove(void);
|
||||
int getyn(int);
|
||||
int haspicked(const PLAY *);
|
||||
void init(void);
|
||||
int is_repair(CARD);
|
||||
int main(int, char **);
|
||||
void newboard(void);
|
||||
void newscore(void);
|
||||
int onecard(const PLAY *);
|
||||
int playcard(PLAY *);
|
||||
void prboard(void);
|
||||
void prompt(int);
|
||||
void prscore(bool);
|
||||
int readch(void);
|
||||
bool rest_f(const char *);
|
||||
int roll(int, int);
|
||||
void rub(int);
|
||||
int safety(CARD);
|
||||
bool save(void);
|
||||
void show_card(int, int, CARD, CARD *);
|
||||
void show_score(int, int, int, int *);
|
||||
void shuffle(void);
|
||||
void sort(CARD *);
|
||||
void undoex(int);
|
||||
#if defined(__linux__) && !defined(__GLIBC__)
|
||||
bool varpush __P((int, ssize_t __P((int, const struct iovec *, size_t))));
|
||||
bool varpush(int, ssize_t (int, const struct iovec *, size_t));
|
||||
#else
|
||||
bool varpush __P((int, ssize_t __P((int, const struct iovec *, int))));
|
||||
bool varpush(int, ssize_t (int, const struct iovec *, int));
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: table.c,v 1.6 2003/08/07 09:37:26 agc Exp $ */
|
||||
/* $NetBSD: table.c,v 1.7 2004/01/27 20:30:30 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1993
|
||||
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1982, 1993\n\
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: table.c,v 1.6 2003/08/07 09:37:26 agc Exp $");
|
||||
__RCSID("$NetBSD: table.c,v 1.7 2004/01/27 20:30:30 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@@ -51,7 +51,7 @@ __RCSID("$NetBSD: table.c,v 1.6 2003/08/07 09:37:26 agc Exp $");
|
||||
|
||||
# include "mille.h"
|
||||
|
||||
int main __P((int, char **));
|
||||
int main(int, char **);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: varpush.c,v 1.7 2003/08/07 09:37:26 agc Exp $ */
|
||||
/* $NetBSD: varpush.c,v 1.8 2004/01/27 20:30:30 jsm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1993
|
||||
@@ -34,7 +34,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)varpush.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: varpush.c,v 1.7 2003/08/07 09:37:26 agc Exp $");
|
||||
__RCSID("$NetBSD: varpush.c,v 1.8 2004/01/27 20:30:30 jsm Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@@ -53,9 +53,9 @@ bool
|
||||
varpush(file, func)
|
||||
int file;
|
||||
#if defined(__linux__) && !defined(__GLIBC__)
|
||||
ssize_t (*func) __P((int, const struct iovec *, size_t));
|
||||
ssize_t (*func)(int, const struct iovec *, size_t);
|
||||
#else
|
||||
ssize_t (*func) __P((int, const struct iovec *, int));
|
||||
ssize_t (*func)(int, const struct iovec *, int);
|
||||
#endif
|
||||
{
|
||||
int temp;
|
||||
|
||||
Reference in New Issue
Block a user