aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/asctime.c2
-rw-r--r--time/localtime.c3
-rw-r--r--time/mktime.c5
-rw-r--r--time/strftime.c3
-rw-r--r--time/strptime.c3
5 files changed, 14 insertions, 2 deletions
diff --git a/time/asctime.c b/time/asctime.c
index b678ecb..f20b311 100644
--- a/time/asctime.c
+++ b/time/asctime.c
@@ -36,7 +36,7 @@ asctime (const struct tm *tp)
{
return __asctime_r (tp, result);
}
-
+libc_hidden_def (asctime)
char *
__asctime_r (const struct tm *tp, char *buf)
diff --git a/time/localtime.c b/time/localtime.c
index 9af78a8..069b12f 100644
--- a/time/localtime.c
+++ b/time/localtime.c
@@ -1,5 +1,5 @@
/* Convert `time_t' to `struct tm' in local time zone.
- Copyright (C) 1991, 92, 93, 95, 96, 97, 98 Free Software Foundation, Inc.
+ Copyright (C) 1991,92,93,95,96,97,98,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -42,3 +42,4 @@ localtime (t)
{
return __tz_convert (t, 1, &_tmbuf);
}
+libc_hidden_def (localtime)
diff --git a/time/mktime.c b/time/mktime.c
index 1aec223..4fb818e 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -405,6 +405,11 @@ mktime (tp)
#ifdef weak_alias
weak_alias (mktime, timelocal)
#endif
+
+#ifdef _LIBC
+libc_hidden_def (mktime)
+libc_hidden_weak (timelocal)
+#endif
#if DEBUG
diff --git a/time/strftime.c b/time/strftime.c
index bae952a..5f156e5 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -1361,6 +1361,9 @@ my_strftime (s, maxsize, format, tp ut_argument)
*p = L_('\0');
return i;
}
+#ifdef _LIBC
+libc_hidden_def (strftime)
+#endif
#ifdef emacs
diff --git a/time/strptime.c b/time/strptime.c
index a3fd811..f127905 100644
--- a/time/strptime.c
+++ b/time/strptime.c
@@ -1037,3 +1037,6 @@ strptime (buf, format, tm)
#endif
return strptime_internal (buf, format, tm, &decided, -1);
}
+#ifdef _LIBC
+libc_hidden_def (strptime)
+#endif