dtappbuilder: remove register keyword

This commit is contained in:
Jon Trulson
2018-06-27 16:08:50 -06:00
parent 3e81f467be
commit f4776c21d7
19 changed files with 73 additions and 73 deletions

View File

@@ -1859,7 +1859,7 @@ abio_put_string(FILE * outFile, STRING s)
int
abio_put_string_to_file(FILE * outFile, STRING string)
{
register STRING ptr;
STRING ptr;
char strEndChar = *(abio_string_end_string());
char curChar = 0;
@@ -1971,7 +1971,7 @@ abioP_build_indent_string(
int new_indent_level
)
{
register int i;
int i;
int indent_length = 0;
out_file = out_file; /* avoid warning */
@@ -2426,7 +2426,7 @@ int
abio_put_string_to_buffer(STRING string, STRING outBuf, int size)
{
#define INC 32
register STRING ptr;
STRING ptr;
char strEndChar = *(abio_string_end_string());
char curChar = 0;
int i = 0;

View File

@@ -275,10 +275,10 @@ util_file_name_is_bil_encapsulated(
static void
expand_path(char *nm, char *buf)
{
register char *s, *d;
char *s, *d;
char lnm[MAXPATHLEN];
int q;
register char *trimchars = "\n \t";
char *trimchars = "\n \t";
/* Strip off leading & trailing whitespace and cr */
while (strchr(trimchars, *nm) != NULL)
@@ -303,9 +303,9 @@ expand_path(char *nm, char *buf)
break;
}
else if (*s++ == '$') {
register char *start = d;
register braces = *s == '{';
register char *value;
char *start = d;
char braces = *s == '{';
char *value;
while (*d++ = *s)
if (braces ? *s == '}' : !isalnum(*s))
break;
@@ -336,8 +336,8 @@ expand_path(char *nm, char *buf)
}
else
{ /* ~user/filename */
register char *nnm;
register struct passwd *pw;
char *nnm;
struct passwd *pw;
for (s = nm; *s && *s != '/'; s++);
nnm = *s ? s + 1 : s;
*s = 0;

View File

@@ -861,7 +861,7 @@ hashing(
STRING string
)
{
register unsigned hash_val = 0;
unsigned hash_val = 0;
for (hash_val = 0; *string; ++string)
hash_val = hash_val * 65599 + *string;
@@ -881,8 +881,8 @@ hash_and_lookupstr(
{
#define fast_streq(s1,s2) (((s1)[0] == (s2)[0]) && (strcmp(s1,s2) == 0))
register unsigned hash_val = 0;
register char *stringPtr;
unsigned hash_val = 0;
char *stringPtr;
Bucket entry;
int *valuePtr;
int *valuePtrEnd;