mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
localized/util: remove register keyword
This commit is contained in:
parent
c1227cc629
commit
38d38987b0
1 changed files with 9 additions and 9 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue