$OpenBSD: patch-spatial_rots_c,v 1.1.1.1 2005/09/09 08:26:58 espie Exp $
--- spatial/rots.c.orig	Mon Aug 23 20:45:55 1993
+++ spatial/rots.c	Thu Sep  8 11:53:20 2005
@@ -3,6 +3,7 @@
  notice is retained. */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <math.h>    
 #include <X11/Xlib.h>
 #include "spatial.h"
@@ -24,9 +25,6 @@ int colors[11] = {1, 3, 4, 7, 9, 10, 11,
 
 extern GC gcblack, gcwhite, gcinv, gccopy, gcline, gccubes[]; 
 
-extern void updatepiece(), setup_fieldpm();
-extern void add_one_cubie(), update_meter();
-
 void startpiece()
 {
     piecelist *p;
@@ -129,8 +127,7 @@ void updatepiece() /* create traplist fr
     };
 }
 
-void updatetemp_tra(xa, ya, za, taxi, tdir)
-short xa, ya, za, taxi, tdir;
+void updatetemp_tra(short xa, short ya, short za, short taxi, short tdir)
 {
     register int ix;
 
