-/* $NetBSD: hack.makemon.c,v 1.7 2008/01/28 06:55:41 dholland Exp $ */
+/* $NetBSD: hack.makemon.c,v 1.9 2009/08/12 07:28:40 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.makemon.c,v 1.7 2008/01/28 06:55:41 dholland Exp $");
+__RCSID("$NetBSD: hack.makemon.c,v 1.9 2009/08/12 07:28:40 dholland Exp $");
#endif /* not lint */
#include "hack.h"
#include "extern.h"
-struct monst zeromonst;
+static const struct monst zeromonst;
/*
* called with [x,y] = coordinates;
}
coord
-enexto(xx, yy)
- xchar xx, yy;
+enexto(xchar xx, xchar yy)
{
xchar x, y;
coord foo[15], *tfoo;
}
void
-rloc(mtmp)
- struct monst *mtmp;
+rloc(struct monst *mtmp)
{
int tx, ty;
char ch = mtmp->data->mlet;
}
struct monst *
-mkmon_at(let, x, y)
- char let;
- int x, y;
+mkmon_at(int let, int x, int y)
{
int ct;
const struct permonst *ptr;