From 60030fd11e6c646dbc35c5254b2520d5af45288f Mon Sep 17 00:00:00 2001 From: dholland Date: Tue, 19 Jun 2012 05:30:43 +0000 Subject: WARNS=5 --- monop/cards.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'monop/cards.c') diff --git a/monop/cards.c b/monop/cards.c index 89dba98a..bae1de8e 100644 --- a/monop/cards.c +++ b/monop/cards.c @@ -1,4 +1,4 @@ -/* $NetBSD: cards.c,v 1.24 2010/09/26 21:12:23 dholland Exp $ */ +/* $NetBSD: cards.c,v 1.25 2012/06/19 05:35:32 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)cards.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: cards.c,v 1.24 2010/09/26 21:12:23 dholland Exp $"); +__RCSID("$NetBSD: cards.c,v 1.25 2012/06/19 05:35:32 dholland Exp $"); #endif #endif /* not lint */ @@ -190,7 +190,7 @@ static const struct cardinfo ch_cards[] = { * This routine initializes the decks from the data above. */ void -init_decks() +init_decks(void) { CC_D.info = cc_cards; CC_D.num_cards = sizeof(cc_cards) / sizeof(cc_cards[0]); @@ -204,8 +204,7 @@ init_decks() * This routine sets up the offset pointers for the given deck. */ static void -set_up(dp) - DECK *dp; +set_up(DECK *dp) { int r1, r2; int i; @@ -235,8 +234,7 @@ set_up(dp) * This routine draws a card from the given deck */ void -get_card(dp) - DECK *dp; +get_card(DECK *dp) { char type_maj, type_min; int num; @@ -358,8 +356,7 @@ printmes(const char *text) * deck. */ void -ret_card(plr) - PLAY *plr; +ret_card(PLAY *plr) { char type_maj; int gojfpos, last_card; -- cgit v1.2.3-56-ge451