$NetBSD: patch-ba,v 1.1.1.1 2001/04/27 15:27:31 agc Exp $ --- sphere.c.orig Sat Jan 13 21:04:38 2001 +++ sphere.c Sat Jan 13 21:07:29 2001 @@ -1,4 +1,5 @@ /* sphere.c */ +#include #include "header.h" #include "monst.h" #include "player.h" @@ -28,9 +29,8 @@ * Enter with the coordinates of the sphere in x,y * the direction (0-8 diroffx format) in dir, and the lifespan of the * sphere in lifetime (in turns) - * Returns the number of spheres currently in existence */ -newsphere (x, y, dir, life) +void newsphere (x, y, dir, life) int x, y, dir, life; { int m,i; @@ -131,9 +131,8 @@ * int x,y; * * Enter with the coordinates of the sphere (on current level) - * Returns the number of spheres currently in existence */ -rmsphere (x, y) +void rmsphere (x, y) int x, y; { struct sphere *sp,*sp2=(struct sphere *)NULL; @@ -167,7 +166,7 @@ * * Enter with the coordinates of the blast, Returns no value */ -sphboom (x, y) +void sphboom (x, y) int x, y; { int i,j,k; @@ -202,7 +201,7 @@ * No value is returned. */ #define SPHMAX 20 /* maximum number of spheres movsphere can handle */ -movsphere() +void movsphere(void) { int x,y,dir,len; struct sphere *sp,*sp2;