diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/echo.c | 2 | ||||
-rw-r--r-- | coreutils/od.c | 2 | ||||
-rw-r--r-- | coreutils/test.c | 2 | ||||
-rw-r--r-- | coreutils/tr.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c index a673bb07a..d278c1143 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c @@ -71,7 +71,7 @@ int bb_echo(int ATTRIBUTE_UNUSED argc, char **argv) just_echo: #endif while (*argv) { - register int c; + int c; while ((c = *(*argv)++)) { if (c == eflag) { /* Check for escape seq. */ diff --git a/coreutils/od.c b/coreutils/od.c index b70cb85e2..13f91eec7 100644 --- a/coreutils/od.c +++ b/coreutils/od.c @@ -35,7 +35,7 @@ static void odoffset(int argc, char ***argvp) { - register char *num, *p; + char *num, *p; int base; char *end; diff --git a/coreutils/test.c b/coreutils/test.c index ab3793627..bbc802283 100644 --- a/coreutils/test.c +++ b/coreutils/test.c @@ -554,7 +554,7 @@ static void initialize_group_array(void) /* Return non-zero if GID is one that we have in our groups list. */ static int is_a_group_member(gid_t gid) { - register int i; + int i; /* Short-circuit if possible, maybe saving a call to getgroups(). */ if (gid == getgid() || gid == getegid()) diff --git a/coreutils/tr.c b/coreutils/tr.c index 32f6f5966..6eb86750d 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c @@ -178,7 +178,7 @@ static unsigned int expand(const char *arg, char *buffer) static int complement(char *buffer, int buffer_len) { - register short i, j, ix; + short i, j, ix; char conv[ASCII + 2]; ix = 0; @@ -195,7 +195,7 @@ static int complement(char *buffer, int buffer_len) int tr_main(int argc, char **argv) { - register unsigned char *ptr; + unsigned char *ptr; int output_length=0, input_length; int idx = 1; int i; |