From: Jon Trulson Date: Wed, 27 Jun 2018 23:59:51 +0000 (-0600) Subject: localized/util: remove register keyword X-Git-Tag: 2.3.0a~299 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=38d38987b03f3400c10677aa5cbf153dc89d5d07;p=oweals%2Fcde.git localized/util: remove register keyword --- diff --git a/cde/programs/localized/util/mkcatdefs.c b/cde/programs/localized/util/mkcatdefs.c index 96668a1a..c92dffb6 100644 --- a/cde/programs/localized/util/mkcatdefs.c +++ b/cde/programs/localized/util/mkcatdefs.c @@ -129,8 +129,8 @@ int main (int argc, char *argv[]) { - register int i; - register char *cp; + int i; + char *cp; int count; char *t; @@ -254,10 +254,10 @@ mkcatdefs(char *fname) { char msgname [PATH_MAX]; char line [MAXLINELEN]; - register char *cp; - register char *cpt; - register int m; - register int n; + char *cp; + char *cpt; + int m; + int n; int contin = 0; int len; /* # bytes in a character */ @@ -542,7 +542,7 @@ insert(char *tname, */ { - register struct name *ptr,*optr; + struct name *ptr,*optr; int rslt = -1,i,hashval; hashval = hash(tname); @@ -601,7 +601,7 @@ nsearch (char *tname) */ { - register struct name *ptr,*optr; + struct name *ptr,*optr; int rslt = -1,i,hashval; hashval = hash(tname); @@ -640,7 +640,7 @@ nsearch (char *tname) static int hash (char *name) /* pointer to symbol */ { - register int hashval = 0; + int hashval = 0; while (*name) hashval += *name++;