summary refs log tree commit diff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/strptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/strptime.c b/time/strptime.c
index 61f11f488f..5d8fe90599 100644
--- a/time/strptime.c
+++ b/time/strptime.c
@@ -275,7 +275,7 @@ strptime_internal (rp, fmt, tm, decided, era_cnt LOCALE_PARAM)
      LOCALE_PARAM_DECL
 {
 #if defined _LIBC && defined USE_IN_EXTENDED_LOCALE_MODEL
-  const struct locale_data *const current = locale->__locales[LC_TIME];
+  struct locale_data *const current = locale->__locales[LC_TIME];
 #endif
 
   const char *rp_backup;