From 45c10110202a8ed1c43f32f744dbb9f470163767 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Mon, 25 Jun 2007 16:18:28 +0000 Subject: 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 --- libavformat/os_support.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libavformat/os_support.c') 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" -- cgit v1.2.3