[vlc-devel] commit: Fix a warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed May 28 19:21:06 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed May 28 19:51:44 2008 +0300| [a93015e7c27fcaf7c668e1d08c16b2d7a46d4ab3]

Fix a warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a93015e7c27fcaf7c668e1d08c16b2d7a46d4ab3
---

 include/vlc_threads.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index 72dac30..3a04143 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -184,9 +184,9 @@ VLC_EXPORT( void, __vlc_thread_join,   ( vlc_object_t *, const char *, int ) );
 #define vlc_mutex_lock( P_MUTEX )                                           \
     __vlc_mutex_lock( __FILE__, __LINE__, P_MUTEX )
 
-#if defined(LIBVLC_USE_PTHREAD)
 VLC_EXPORT(void, vlc_pthread_fatal, (const char *action, int error, const char *file, unsigned line));
 
+#if defined(LIBVLC_USE_PTHREAD)
 # define VLC_THREAD_ASSERT( action ) \
     if (val) \
         vlc_pthread_fatal (action, val, psz_file, i_line)




More information about the vlc-devel mailing list