SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,30 @@
--- spatial/rots.c.orig Mon Aug 23 20:45:55 1993
+++ spatial/rots.c Wed Dec 5 15:03:28 2007
@@ -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, 12, 13, 14, 1
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 from plist+offse
};
}
-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;