aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/strftime.c1
-rw-r--r--time/strptime.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/time/strftime.c b/time/strftime.c
index 9ad16b2..995a6d9 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -1202,7 +1202,6 @@ my_strftime (s, maxsize, format, tp ut_argument)
/* The wide name is after the single byte name and
format. */
char *tcp = strchr (era->name_fmt, '\0') + 1;
- size_t len;
subfmt = (wchar_t *) (strchr (tcp, '\0') + 1);
subfmt = wcschr (subfmt, L'\0') + 1;
# else
diff --git a/time/strptime.c b/time/strptime.c
index 20b39db..5f8271e 100644
--- a/time/strptime.c
+++ b/time/strptime.c
@@ -156,6 +156,7 @@ localtime_r (t, tp)
#ifdef _LIBC
/* This is defined in locale/C-time.c in the GNU libc. */
+extern const struct locale_data _nl_C_LC_TIME;
extern const unsigned short int __mon_yday[2][13];
# define weekday_name (&_nl_C_LC_TIME.values[_NL_ITEM_INDEX (DAY_1)].string)