changeset 2204:6f3e0f91b7db libavformat

Remove localtime_r implementation for systems that don't have it. It is no longer used.
author ramiro
date Mon, 25 Jun 2007 16:18:28 +0000
parents a81bd08b5ff2
children 28eb72f5208a
files os_support.c
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.c	Mon Jun 25 02:08:04 2007 +0000
+++ b/os_support.c	Mon Jun 25 16:18:28 2007 +0000
@@ -58,19 +58,6 @@
 #endif
 }
 
-#if !defined(HAVE_LOCALTIME_R)
-struct tm *localtime_r(const time_t *t, struct tm *tp)
-{
-    struct tm *l;
-
-    l = localtime(t);
-    if (!l)
-        return 0;
-    *tp = *l;
-    return tp;
-}
-#endif /* !defined(HAVE_LOCALTIME_R) */
-
 #ifdef CONFIG_NETWORK
 #include "network.h"