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,
|
main (int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
register int i;
|
int i;
|
||||||
register char *cp;
|
char *cp;
|
||||||
int count;
|
int count;
|
||||||
char *t;
|
char *t;
|
||||||
|
|
||||||
|
@ -254,10 +254,10 @@ mkcatdefs(char *fname)
|
||||||
{
|
{
|
||||||
char msgname [PATH_MAX];
|
char msgname [PATH_MAX];
|
||||||
char line [MAXLINELEN];
|
char line [MAXLINELEN];
|
||||||
register char *cp;
|
char *cp;
|
||||||
register char *cpt;
|
char *cpt;
|
||||||
register int m;
|
int m;
|
||||||
register int n;
|
int n;
|
||||||
int contin = 0;
|
int contin = 0;
|
||||||
int len; /* # bytes in a character */
|
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;
|
int rslt = -1,i,hashval;
|
||||||
|
|
||||||
hashval = hash(tname);
|
hashval = hash(tname);
|
||||||
|
@ -601,7 +601,7 @@ nsearch (char *tname)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{
|
{
|
||||||
register struct name *ptr,*optr;
|
struct name *ptr,*optr;
|
||||||
int rslt = -1,i,hashval;
|
int rslt = -1,i,hashval;
|
||||||
|
|
||||||
hashval = hash(tname);
|
hashval = hash(tname);
|
||||||
|
@ -640,7 +640,7 @@ nsearch (char *tname)
|
||||||
static int
|
static int
|
||||||
hash (char *name) /* pointer to symbol */
|
hash (char *name) /* pointer to symbol */
|
||||||
{
|
{
|
||||||
register int hashval = 0;
|
int hashval = 0;
|
||||||
|
|
||||||
while (*name)
|
while (*name)
|
||||||
hashval += *name++;
|
hashval += *name++;
|
||||||
|
|
Loading…
Reference in a new issue