diff options
author | imp <imp@FreeBSD.org> | 2002-02-18 05:15:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-18 05:15:19 +0000 |
commit | 24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d (patch) | |
tree | 275284ba202a3acb4c5d5041be389eba1a666e3b /games/fish | |
parent | d533053fe68906076e15c9a57531ef155a7d4283 (diff) | |
download | FreeBSD-src-24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d.zip FreeBSD-src-24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d.tar.gz |
Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
Diffstat (limited to 'games/fish')
-rw-r--r-- | games/fish/fish.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/games/fish/fish.c b/games/fish/fish.c index 7ef8b5b..2a54022 100644 --- a/games/fish/fish.c +++ b/games/fish/fish.c @@ -75,21 +75,21 @@ int promode; int asked[RANKS], comphand[RANKS], deck[RANKS]; int userasked[RANKS], userhand[RANKS]; -void chkwinner __P((int player, int *hand)); -int compmove __P((void)); -int countbooks __P((int *hand)); -int countcards __P((int *hand)); -int drawcard __P((int player, int *hand)); -int gofish __P((int askedfor, int player, int *hand)); -void goodmove __P((int player, int move, int *hand, int *opphand)); -void init __P((void)); -void instructions __P((void)); -int nrandom __P((int n)); -void printhand __P((int *hand)); -void printplayer __P((int player)); -int promove __P((void)); -void usage __P((void)); -int usermove __P((void)); +void chkwinner(int player, int *hand); +int compmove(void); +int countbooks(int *hand); +int countcards(int *hand); +int drawcard(int player, int *hand); +int gofish(int askedfor, int player, int *hand); +void goodmove(int player, int move, int *hand, int *opphand); +void init(void); +void instructions(void); +int nrandom(int n); +void printhand(int *hand); +void printplayer(int player); +int promove(void); +void usage(void); +int usermove(void); int main(argc, argv) |