diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/test_time.c | 2 | ||||
-rw-r--r-- | time/tzfile.c | 6 | ||||
-rw-r--r-- | time/tzset.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/time/test_time.c b/time/test_time.c index 5c386525ea..361763a9a0 100644 --- a/time/test_time.c +++ b/time/test_time.c @@ -24,7 +24,7 @@ int main (int argc, char **argv) { time_t t; - register struct tm *tp; + struct tm *tp; struct tm tbuf; int lose = 0; diff --git a/time/tzfile.c b/time/tzfile.c index 2e3a7b69bf..9dd5130757 100644 --- a/time/tzfile.c +++ b/time/tzfile.c @@ -104,10 +104,10 @@ __tzfile_read (const char *file, size_t extra, char **extrap) { static const char default_tzdir[] = TZDIR; size_t num_isstd, num_isgmt; - register FILE *f; + FILE *f; struct tzhead tzhead; size_t chars; - register size_t i; + size_t i; size_t total_size; size_t types_idx; size_t leaps_idx; @@ -630,7 +630,7 @@ __tzfile_compute (time_t timer, int use_localtime, long int *leap_correct, int *leap_hit, struct tm *tp) { - register size_t i; + size_t i; if (use_localtime) { diff --git a/time/tzset.c b/time/tzset.c index 843f661fb8..0064cb0133 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -300,7 +300,7 @@ __tzset_parse_tz (tz) /* Figure out the standard <-> DST rules. */ for (unsigned int whichrule = 0; whichrule < 2; ++whichrule) { - register tz_rule *tzr = &tz_rules[whichrule]; + tz_rule *tzr = &tz_rules[whichrule]; /* Ignore comma to support string following the incorrect specification in early POSIX.1 printings. */ @@ -400,7 +400,7 @@ tzset_internal (always, explicit) int explicit; { static int is_initialized; - register const char *tz; + const char *tz; if (is_initialized && !always) return; @@ -471,7 +471,7 @@ compute_change (rule, year) tz_rule *rule; int year; { - register time_t t; + time_t t; if (year != -1 && rule->computed_for == year) /* Operations on times in 2 BC will be slower. Oh well. */ |