dtscreen: remove register keyword
authorJon Trulson <jon@radscan.com>
Wed, 27 Jun 2018 23:37:18 +0000 (17:37 -0600)
committerJon Trulson <jon@radscan.com>
Thu, 28 Jun 2018 04:20:34 +0000 (22:20 -0600)
cde/programs/dtscreen/pyro.c
cde/programs/dtscreen/rotor.c

index 4cc3ce2a7b553a8efee03ccc011902fd73593af5..0e11d8f03469e874276eaf2f557ef0f4e69d512f 100644 (file)
@@ -342,10 +342,10 @@ shootup(perwindow *pwin, pyrostruct *pp, rocket *rp)
 static void
 burst(perwindow *pwin, pyrostruct *pp, rocket *rp)
 {
-    register int starn;
-    register int nstars, stype;
-    register float rx, ry, sd; /* Help compiler optimize :-) */
-    register float sx, sy;
+    int starn;
+    int nstars, stype;
+    float rx, ry, sd;  /* Help compiler optimize :-) */
+    float sx, sy;
 
     nstars = rp->nstars;
     stype = rp->shelltype;
index 656b2691d68c0596c238a94733f62e31d4e0cb1b..60bc54e9b7b302dbe667ce15ae2069517425a03e 100644 (file)
@@ -168,8 +168,8 @@ initrotor(perwindow *pwin)
 void
 drawrotor(perwindow *pwin)
 {
-    register flightstruct *fs;
-    register struct elem *pelem;
+    flightstruct *fs;
+    struct elem *pelem;
     int         thisx,
                 thisy;
     int         i,