vlc | branch: master | Felix Paul Kühne <fkue...@videolan.org> | Tue Dec 28 14:21:07 2010 +0100| [7e5cf95b033bf7543fc6a2f200d12c1e8a4a443b] | committer: Felix Paul Kühne
Revert "src: fixed 2 errors detected by the clang static analyser" This reverts commit 0e65dd7707b32d702dcf1f8ad74b641f9b6bb761. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7e5cf95b033bf7543fc6a2f200d12c1e8a4a443b --- src/misc/mtime.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/mtime.c b/src/misc/mtime.c index 30c7a26..115dbe9 100644 --- a/src/misc/mtime.c +++ b/src/misc/mtime.c @@ -62,7 +62,7 @@ # include <mach/mach_time.h> #endif -#if !defined(HAVE_STRUCT_TIMESPEC) && !defined(__APPLE__) +#if !defined(HAVE_STRUCT_TIMESPEC) struct timespec { time_t tv_sec; @@ -71,7 +71,7 @@ struct timespec #endif #if defined(HAVE_NANOSLEEP) && !defined(HAVE_DECL_NANOSLEEP) -int nanosleep(const struct timespec *, struct timespec *); +int nanosleep(struct timespec *, struct timespec *); #endif #if !defined (_POSIX_CLOCK_SELECTION) _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits