From 57ce407976c05a01d83ef9719923cfe2453c5e49 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 27 Jun 2018 14:48:29 -0600 Subject: [PATCH] lib/DtSearch: remove register keyword --- cde/lib/DtSearch/bmstrstr.c | 8 ++++---- cde/lib/DtSearch/hdecode.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cde/lib/DtSearch/bmstrstr.c b/cde/lib/DtSearch/bmstrstr.c index 49e64a20..cf82b624 100644 --- a/cde/lib/DtSearch/bmstrstr.c +++ b/cde/lib/DtSearch/bmstrstr.c @@ -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; diff --git a/cde/lib/DtSearch/hdecode.c b/cde/lib/DtSearch/hdecode.c index 06dc3dd2..d843617e 100644 --- a/cde/lib/DtSearch/hdecode.c +++ b/cde/lib/DtSearch/hdecode.c @@ -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; -- 2.25.1