]> git.sesse.net Git - vlc/commitdiff
Fix a warning
authorRémi Denis-Courmont <rem@videolan.org>
Wed, 28 May 2008 16:51:44 +0000 (19:51 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Wed, 28 May 2008 16:51:44 +0000 (19:51 +0300)
include/vlc_threads.h

index 72dac3009a096718ca88c5e93811868eebaf65fd..3a04143799f837031a502b556b3c8644dd71eaef 100644 (file)
@@ -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)