-/* $NetBSD: moreobj.c,v 1.11 2008/02/19 06:05:26 dholland Exp $ */
+/* $NetBSD: moreobj.c,v 1.12 2012/06/19 05:30:43 dholland Exp $ */
/*
* moreobj.c Larn is copyrighted 1986 by Noah Morgan.
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: moreobj.c,v 1.11 2008/02/19 06:05:26 dholland Exp $");
+__RCSID("$NetBSD: moreobj.c,v 1.12 2012/06/19 05:30:43 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
#include <unistd.h>
* subroutine to process an altar object
*/
void
-oaltar()
+oaltar(void)
{
lprcat("\nDo you (p) pray (d) desecrate");
subroutine to process a throne object
*/
void
-othrone(arg)
- int arg;
+othrone(int arg)
{
lprcat("\nDo you (p) pry off jewels, (s) sit down");
}
void
-odeadthrone()
+odeadthrone(void)
{
int k;
subroutine to process a throne object
*/
void
-ochest()
+ochest(void)
{
lprcat("\nDo you (t) take it, (o) try to open it");
process a fountain object
*/
void
-ofountain()
+ofountain(void)
{
cursors();
subroutine to process an up/down of a character attribute for ofountain
*/
static void
-fch(how, x)
- int how;
- long *x;
+fch(int how, long *x)
{
if (how < 0) {
lprcat(" went down by one!");
if x > 0 they are raised if x < 0 they are lowered
*/
void
-fntchange(how)
- int how;
+fntchange(int how)
{
long j;
lprc('\n');