summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-06-25 16:18:28 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-06-25 16:18:28 +0000
commit45c10110202a8ed1c43f32f744dbb9f470163767 (patch)
tree248847deac2ce8ae6ab79273d481927d40cce038 /libavformat/os_support.c
parentd6d0182e205d262d9df39eeaea77a9dd6cc728f1 (diff)
downloadffmpeg-45c10110202a8ed1c43f32f744dbb9f470163767.tar.gz
Remove localtime_r implementation for systems that don't have it.
It is no longer used. Originally committed as revision 9425 to svn://svn.ffmpeg.org/ffmpeg/trunk
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"