From: RĂ©mi Denis-Courmont Date: Sun, 7 Sep 2008 16:12:17 +0000 (+0300) Subject: Unexport vlc_thread_fatal (short lived) X-Git-Tag: 1.0.0-pre1~3466 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0f58689cb81d5ab078e40f510a3ef55d6650f6b6;p=vlc Unexport vlc_thread_fatal (short lived) --- diff --git a/include/vlc_threads.h b/include/vlc_threads.h index 760115b811..3d7a6d9342 100644 --- a/include/vlc_threads.h +++ b/include/vlc_threads.h @@ -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) diff --git a/src/libvlccore.sym b/src/libvlccore.sym index 518e608f7f..27e8df2083 100644 --- a/src/libvlccore.sym +++ b/src/libvlccore.sym @@ -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 diff --git a/src/misc/threads.c b/src/misc/threads.c index ab06cbba3e..8f7de86df8 100644 --- a/src/misc/threads.c +++ b/src/misc/threads.c @@ -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 ());