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/cribbage/cribbage.h | |
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/cribbage/cribbage.h')
-rw-r--r-- | games/cribbage/cribbage.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/games/cribbage/cribbage.h b/games/cribbage/cribbage.h index b8310db4fa4..918a8f318ce 100644 --- a/games/cribbage/cribbage.h +++ b/games/cribbage/cribbage.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cribbage.h,v 1.3 2001/08/10 23:50:22 pjanzen Exp $ */ +/* $OpenBSD: cribbage.h,v 1.4 2002/02/16 21:27:09 millert Exp $ */ /* $NetBSD: cribbage.h,v 1.3 1995/03/21 15:08:46 cgd Exp $ */ /* @@ -63,54 +63,54 @@ extern bool playing; /* currently playing game */ extern char expl[]; /* string for explanation */ -void addmsg __P((const char *, ...)); -int adjust __P((CARD [], CARD)); -int anymove __P((CARD [], int, int)); -int anysumto __P((CARD [], int, int, int)); -void bye __P((void)); -int cchose __P((CARD [], int, int)); -void cdiscard __P((bool)); -int chkscr __P((int *, int)); -int comphand __P((CARD [], char *)); -void cremove __P((CARD, CARD [], int)); -int cut __P((bool, int)); -int deal __P((int)); -void discard __P((bool)); -void do_wait __P((void)); -void endmsg __P((void)); -int eq __P((CARD, CARD)); -int fifteens __P((CARD [], int)); -void game __P((void)); -void gamescore __P((void)); -char *getline __P((void)); -int getuchar __P((void)); -int incard __P((CARD *)); -int infrom __P((CARD [], int, char *)); -void instructions __P((void)); -int isone __P((CARD, CARD [], int)); -void makeboard __P((void)); -void makedeck __P((CARD [])); -void makeknown __P((CARD [], int)); -void msg __P((const char *, ...)); -int msgcard __P((CARD, bool)); -int msgcrd __P((CARD, bool, char *, bool)); -int number __P((int, int, char *)); -int numofval __P((CARD [], int, int)); -int pairuns __P((CARD [], int)); -int peg __P((bool)); -int pegscore __P((CARD, CARD [], int, int)); -int playhand __P((bool)); -int plyrhand __P((CARD [], char *)); -void prcard __P((WINDOW *, int, int, CARD, bool)); -void prcrib __P((bool, bool)); -void prhand __P((CARD [], int, WINDOW *, bool)); -void printcard __P((WINDOW *, int, CARD, bool)); -void prpeg __P((int, int, bool)); -void prtable __P((int)); -int readchar __P((void)); -void rint __P((int)); -int score __P((bool)); -int scorehand __P((CARD [], CARD, int, bool, bool)); -void shuffle __P((CARD [])); -void sorthand __P((CARD [], int)); -void wait_for __P((int)); +void addmsg(const char *, ...); +int adjust(CARD [], CARD); +int anymove(CARD [], int, int); +int anysumto(CARD [], int, int, int); +void bye(void); +int cchose(CARD [], int, int); +void cdiscard(bool); +int chkscr(int *, int); +int comphand(CARD [], char *); +void cremove(CARD, CARD [], int); +int cut(bool, int); +int deal(int); +void discard(bool); +void do_wait(void); +void endmsg(void); +int eq(CARD, CARD); +int fifteens(CARD [], int); +void game(void); +void gamescore(void); +char *getline(void); +int getuchar(void); +int incard(CARD *); +int infrom(CARD [], int, char *); +void instructions(void); +int isone(CARD, CARD [], int); +void makeboard(void); +void makedeck(CARD []); +void makeknown(CARD [], int); +void msg(const char *, ...); +int msgcard(CARD, bool); +int msgcrd(CARD, bool, char *, bool); +int number(int, int, char *); +int numofval(CARD [], int, int); +int pairuns(CARD [], int); +int peg(bool); +int pegscore(CARD, CARD [], int, int); +int playhand(bool); +int plyrhand(CARD [], char *); +void prcard(WINDOW *, int, int, CARD, bool); +void prcrib(bool, bool); +void prhand(CARD [], int, WINDOW *, bool); +void printcard(WINDOW *, int, CARD, bool); +void prpeg(int, int, bool); +void prtable(int); +int readchar(void); +void rint(int); +int score(bool); +int scorehand(CARD [], CARD, int, bool, bool); +void shuffle(CARD []); +void sorthand(CARD [], int); +void wait_for(int); |