]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - warp/sm.c
cgram: consistently use char for characters
[bsdgames-darwin.git] / warp / sm.c
index 8fb657c3810f12a057931c5a42208a9d42320de4..a91c64ac5af677d5ebc5c2fad89fd1a2646148e0 100644 (file)
--- a/warp/sm.c
+++ b/warp/sm.c
@@ -8,13 +8,15 @@
 
 #include <stdio.h>
 #include <ctype.h>
-#include "config.h"
+#include <stdlib.h>
+#include "warp-config.h"
 
-main()
+int
+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++)
@@ -43,7 +45,7 @@ main()
        }
     }
     else {
-       Reg3 int numstars = 0;
+       int numstars = 0;
 
        for (y=1; y<23; y++) {
            for (x=0; x<79; x++)