localized/util: remove register keyword
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user