Commit 0f58689c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Unexport vlc_thread_fatal (short lived)

parent 6429d700
......@@ -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)
......
......@@ -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
......
......@@ -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 ());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment