summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index ded36d6400..e627367593 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -58,19 +58,6 @@ int64_t av_gettime(void)
#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"