summaryrefslogtreecommitdiff
path: root/src/libstddjb/localtm_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/localtm_scan.c')
-rw-r--r--src/libstddjb/localtm_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/localtm_scan.c b/src/libstddjb/localtm_scan.c
index 62bf4c3..60bf61b 100644
--- a/src/libstddjb/localtm_scan.c
+++ b/src/libstddjb/localtm_scan.c
@@ -11,7 +11,7 @@ size_t localtm_scan (char const *s, struct tm *l)
struct tm ll = { .tm_isdst = -1 } ;
size_t n = 0 ;
unsigned int u ;
- register size_t i = uint_scan(s+n, &u) ;
+ size_t i = uint_scan(s+n, &u) ;
if (!i) goto fail ;
n += i ;
if (u < 1900) goto fail ;