[vlc-devel] commit: Unexport vlc_thread_fatal (short lived) ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Sep 7 19:23:39 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 7 19:12:17 2008 +0300| [0f58689cb81d5ab078e40f510a3ef55d6650f6b6] | committer: Rémi Denis-Courmont
Unexport vlc_thread_fatal (short lived)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f58689cb81d5ab078e40f510a3ef55d6650f6b6
---
include/vlc_threads.h | 2 --
src/libvlccore.sym | 1 -
src/misc/threads.c | 5 +++--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index 760115b..3d7a6d9 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 518e608..27e8df2 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 ab06cbb..8f7de86 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 ());
More information about the vlc-devel
mailing list