summaryrefslogtreecommitdiffstats
path: root/warp/sm.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2020-11-10 22:42:19 +0000
committerchristos <christos@NetBSD.org>2020-11-10 22:42:19 +0000
commita6ad8fb14c6bed68eb8b37750e1b2fea36a8c908 (patch)
tree96a006165d8615e5e0cb4e78ef064e66b8e16437 /warp/sm.c
parent1bb28c57a5d2c06152fff5de57a902bec60cc30d (diff)
downloadbsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.gz
bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.zst
bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.zip
Time warp forward 34 years so that it compiles (but not work)
Diffstat (limited to 'warp/sm.c')
-rw-r--r--warp/sm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/warp/sm.c b/warp/sm.c
index 4bbe328f..69b10401 100644
--- a/warp/sm.c
+++ b/warp/sm.c
@@ -12,11 +12,11 @@
#include "config.h"
int
-main()
+main(void)
{
char screen[23][90], buf[10];
- Reg1 int y;
- Reg2 int x;
+ int y;
+ int x;
int tmpy, tmpx;
for (x=0; x<79; x++)
@@ -45,7 +45,7 @@ main()
}
}
else {
- Reg3 int numstars = 0;
+ int numstars = 0;
for (y=1; y<23; y++) {
for (x=0; x<79; x++)