]> git.sesse.net Git - vlc/commitdiff
Do not hide many (all?) thread function having an incorrect prototype
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 3 Aug 2008 15:03:07 +0000 (18:03 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 3 Aug 2008 15:06:46 +0000 (18:06 +0300)
include/vlc_threads.h

index 01e8b716aa389c84d993fc2f467fc78b48ea87b7..3f0534097fd923ef35dcba1609ff90915ded8f23 100644 (file)
@@ -589,7 +589,7 @@ static inline void barrier (void)
  * vlc_thread_create: create a thread
  *****************************************************************************/
 #define vlc_thread_create( P_THIS, PSZ_NAME, FUNC, PRIORITY, WAIT )         \
-    __vlc_thread_create( VLC_OBJECT(P_THIS), __FILE__, __LINE__, PSZ_NAME, (void * ( * ) ( void * ))FUNC, PRIORITY, WAIT )
+    __vlc_thread_create( VLC_OBJECT(P_THIS), __FILE__, __LINE__, PSZ_NAME, FUNC, PRIORITY, WAIT )
 
 /*****************************************************************************
  * vlc_thread_set_priority: set the priority of the calling thread