]> git.sesse.net Git - vlc/commitdiff
Unexport vlc_thread_fatal (short lived)
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 7 Sep 2008 16:12:17 +0000 (19:12 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 7 Sep 2008 16:12:17 +0000 (19:12 +0300)
include/vlc_threads.h
src/libvlccore.sym
src/misc/threads.c

index 760115b8119d5da2e0abc0e3e82a4bf47750e277..3d7a6d93426309cad7216e98bad138bf4e2d54a9 100644 (file)
@@ -165,8 +165,6 @@ enum {
 
 #define vlc_thread_ready vlc_object_signal
 
-VLC_EXPORT(void, vlc_thread_fatal, (const char *action, int error, const char *function, const char *file, unsigned line));
-
 #if defined(LIBVLC_USE_PTHREAD)
 #   define vlc_assert_locked( m ) \
            assert (pthread_mutex_lock (m) == EDEADLK)
index 518e608f7f5a6b676230ce5b403513b6652f8246..27e8df2083b8e0dfb094a6ab56d457fea209426d 100644 (file)
@@ -497,7 +497,6 @@ vlc_strlcpy
 vlc_strtoll
 vlc_submodule_create
 __vlc_thread_create
-vlc_thread_fatal
 __vlc_thread_join
 __vlc_thread_set_priority
 vlc_threadvar_create
index ab06cbba3e084e36b6a9566e87341c09fdd349f3..8f7de86df8c6efabdf626224d5a6576fb75cda40 100644 (file)
@@ -111,8 +111,9 @@ static inline unsigned long vlc_threadid (void)
  *****************************************************************************
  * This is mostly meant for debugging.
  *****************************************************************************/
-void vlc_thread_fatal (const char *action, int error, const char *function,
-                        const char *file, unsigned line)
+static void
+vlc_thread_fatal (const char *action, int error,
+                  const char *function, const char *file, unsigned line)
 {
     fprintf (stderr, "LibVLC fatal error %s (%d) in thread %lu ",
              action, error, vlc_threadid ());