(my_strftime_localtime_r): Include this function
authorJim Meyering <jim@meyering.net>
Sun, 9 Dec 2001 21:02:43 +0000 (21:02 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 9 Dec 2001 21:02:43 +0000 (21:02 +0000)
definition in the `#if ! HAVE_TM_GMTOFF' block.

lib/strftime.c

index dea5509b5a02eb274e25b8cbda784d2b39131407..cc3a2d56867d216faac5a111468a3f3672e84fea 100644 (file)
@@ -191,7 +191,6 @@ my_strftime_gmtime_r (t, tp)
   *tp = *l;
   return tp;
 }
-# endif /* ! HAVE_TM_GMTOFF */
 
 static struct tm *my_strftime_localtime_r __P ((const time_t *, struct tm *));
 static struct tm *
@@ -205,6 +204,7 @@ my_strftime_localtime_r (t, tp)
   *tp = *l;
   return tp;
 }
+# endif /* ! HAVE_TM_GMTOFF */
 #endif /* ! defined _LIBC */