lib/DtSearch: remove register keyword
authorJon Trulson <jon@radscan.com>
Wed, 27 Jun 2018 20:48:29 +0000 (14:48 -0600)
committerJon Trulson <jon@radscan.com>
Thu, 28 Jun 2018 03:58:04 +0000 (21:58 -0600)
cde/lib/DtSearch/bmstrstr.c
cde/lib/DtSearch/hdecode.c

index 49e64a200a89d7b875f77785e14895e4cde964e7..cf82b624864c1efd93e4008f964cfcab17916a82 100644 (file)
@@ -120,13 +120,13 @@ char           *bmhcore (
                     size_t             patlen,
                     size_t             *bmhtable)
 {
-    register unsigned char
+    unsigned char
                lastchar = pattern[patlen - 1];
-    register unsigned char
+    unsigned char
                textchar;
-    register unsigned char
+    unsigned char
                *cp;
-    register unsigned char     
+    unsigned char
                *last;
     int                savechar;
     int                savechar2;
index 06dc3dd2b848763e0a74851b90df021de6aa311c..d843617e07a0ce3196b7190069d628f42300b870 100644 (file)
@@ -122,7 +122,7 @@ void        hc_decode (
 #ifdef DEBUG_DECODE
     static int      first_time = TRUE;
 #endif
-    register int    bitreg;
+    int    bitreg;
     int             i;
     int             bitcount;
     int             tree_index;