final set of ANSI C changes

This commit is contained in:
Chet Ramey
2023-01-05 15:09:06 -05:00
parent 5b512e1121
commit 2e725f7346
84 changed files with 390 additions and 347 deletions
+3 -3
View File
@@ -410,8 +410,8 @@ legal_alias_name (const char *string, int flags)
int
assignment (const char *string, int flags)
{
register unsigned char c;
register int newi, indx;
unsigned char c;
int newi, indx;
c = string[indx = 0];
@@ -1116,7 +1116,7 @@ bash_tilde_find_word (const char *s, int flags, int *lenp)
{
const char *r;
char *ret;
int l;
size_t l;
for (r = s; *r && *r != '/'; r++)
{