aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/ctime_r.c6
-rw-r--r--time/strptime.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/time/ctime_r.c b/time/ctime_r.c
index d695c7c..f9a198d 100644
--- a/time/ctime_r.c
+++ b/time/ctime_r.c
@@ -1,5 +1,5 @@
-/* ctime_r - return in BUF representation of time T in form of asctime
- Copyright (C) 1996 Free Software Foundation, Inc.
+/* Return in BUF representation of time T in form of asctime
+ Copyright (C) 1996, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -26,5 +26,5 @@ char *
ctime_r (const time_t *t, char *buf)
{
struct tm tm;
- return asctime_r (localtime_r (t, &tm), buf);
+ return __asctime_r (__localtime_r (t, &tm), buf);
}
diff --git a/time/strptime.c b/time/strptime.c
index 36f42c9..4876107 100644
--- a/time/strptime.c
+++ b/time/strptime.c
@@ -1,5 +1,5 @@
/* Convert a string representation of time to a time value.
- Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -148,6 +148,8 @@ extern const struct locale_data _nl_C_LC_TIME;
# define HERE_T_FMT_AMPM \
(_nl_C_LC_TIME.values[_NL_ITEM_INDEX (T_FMT_AMPM)].string)
# define HERE_T_FMT (_nl_C_LC_TIME.values[_NL_ITEM_INDEX (T_FMT)].string)
+
+# define strncasecmp(s1, s2, n) __strncasecmp (s1, s2, n)
#else
static char const weekday_name[][10] =
{