aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-31 07:40:00 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-31 07:40:00 +0000
commita4f4b72b80dd7a36d65828d351716c45908c0ada (patch)
tree62c5a567f661b6fbe1e0840e483a2a8c1d290a60 /time
parent4b10dd6c1959577f57850ca427a94fe22b9f3299 (diff)
downloadglibc-a4f4b72b80dd7a36d65828d351716c45908c0ada.zip
glibc-a4f4b72b80dd7a36d65828d351716c45908c0ada.tar.gz
glibc-a4f4b72b80dd7a36d65828d351716c45908c0ada.tar.bz2
Update.
1999-08-31 Ulrich Drepper <drepper@cygnus.com> * time/strftime.c (my_strftime): Remove unneeded variable len. * time/strptime.c: Undo last change.
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)