-/* $NetBSD: morg.c,v 1.17 2008/02/24 02:55:20 dholland Exp $ */
+/* $NetBSD: morg.c,v 1.19 2012/06/19 05:35:32 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)morg.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: morg.c,v 1.17 2008/02/24 02:55:20 dholland Exp $");
+__RCSID("$NetBSD: morg.c,v 1.19 2012/06/19 05:35:32 dholland Exp $");
#endif
#endif /* not lint */
* be mortgaged.
*/
void
-mortgage()
+mortgage(void)
{
int propnum;
* This routine sets up the list of mortgageable property
*/
static int
-set_mlist()
+set_mlist(void)
{
OWN *op;
* This routine actually mortgages the property.
*/
static void
-m(propnum)
- int propnum;
+m(int propnum)
{
int price;
* to be unmortgaged.
*/
void
-unmortgage()
+unmortgage(void)
{
int propnum;
* This routine sets up the list of mortgaged property
*/
static int
-set_umlist()
+set_umlist(void)
{
OWN *op;
* This routine actually unmortgages the property
*/
static void
-unm(propnum)
- int propnum;
+unm(int propnum)
{
int price;
price += price/10;
printf("That cost you $%d\n",price);
cur_p->money -= price;
- set_umlist();
+ (void)set_umlist();
}
/*
* financial woes. It is fine to have $0 but not to be in debt.
*/
void
-force_morg()
+force_morg(void)
{
told_em = fixing = TRUE;
while (cur_p->money < 0) {