summaryrefslogtreecommitdiff
path: root/libc/misc/time/time.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-22 00:43:18 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-22 00:43:18 +0000
commitf8d5244380826053b8c75b3c302d39bdd1f9a121 (patch)
tree3c9d81358dce8e98a9b85ab840f0c657db7b4c17 /libc/misc/time/time.c
parent3ae4f469bfd1fd10fc3e148f75cb9ba4eff9ecdb (diff)
weaks moved after the related function so gcc4 won't warn
Diffstat (limited to 'libc/misc/time/time.c')
-rw-r--r--libc/misc/time/time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index 57ef2217a..914277698 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -713,15 +713,15 @@ struct tm *__time_localtime_tzi(register const time_t *__restrict timer,
/**********************************************************************/
#ifdef L_mktime
-/* Another name for `mktime'. */
-/* time_t timelocal(struct tm *tp) */
-weak_alias(mktime,timelocal);
-
time_t mktime(struct tm *timeptr)
{
return _time_mktime(timeptr, 1);
}
+/* Another name for `mktime'. */
+/* time_t timelocal(struct tm *tp) */
+weak_alias(mktime,timelocal);
+
#endif
/**********************************************************************/
#ifdef L_timegm